Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Two buttons


Hi,

i have 2 buttons in my presentation (button1 and button2) and i want to show button2 only when button1 is pressed.

How can i do ?

Thank you in advance.

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Usa una variabile ad es: LET vShow = 0;

Nel bottone 1 aggiungi un evento (vai in esterno e utilizza imposta variabile)

nel riquadro superiore scrivi soltanto vShow, in quello inferiore scrivi: =if(vShow=1,0,1)

a questo punto nel secondo bottone in presentazione -> funzioni condizionali scrivi vShow=1 ed il gioco è fatto

Fammi sapere

Alexandros

View solution in original post

7 Replies
tresesco
MVP
MVP

Set an external action 'Set Variable' for button1. Now check this variable value in 'Enable Condition' (general tab) for button2.

alexandros17
Partner - Champion III
Partner - Champion III

Usa una variabile ad es: LET vShow = 0;

Nel bottone 1 aggiungi un evento (vai in esterno e utilizza imposta variabile)

nel riquadro superiore scrivi soltanto vShow, in quello inferiore scrivi: =if(vShow=1,0,1)

a questo punto nel secondo bottone in presentazione -> funzioni condizionali scrivi vShow=1 ed il gioco è fatto

Fammi sapere

Alexandros

Not applicable
Author

Create 1 variable vDisplay. Assign value 0 to it.

On Button1:

Properties--> Actions --> Set Variables--> vDisplay --> 1.

On Button 2:

Conditional:

if(vDisplay=1,1,0)

Hope this will help u..!

mdmukramali
Specialist III
Specialist III

Dear ,

find the attached.

lukaspuschner
Partner - Creator
Partner - Creator

Hello Stefano,

do you want to show button 1 after pressing it too or do you always want to show one button?

Not applicable
Author

Hi,

i want to show button 2 after pressing button 1.

Not applicable
Author

Nel bottone 1 ho impostato la variabile indicando semplicemente il valore 1 e nel bottone 2 (funzioni condizionali) ho indicato var=1.

Funziona.

Grazie 1000.