cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mae_be9292
Level: Powered On

how to invisble button when I click it

How to invisible button when I click it?

 

I mean when i click the button it will disappear.

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Level 10

Re: how to invisble button when I click it

Hi @mae_be9292 ,

Please try this:

Set the button's OnSelect:

Set(a,1)

Set the button's Visible:

If(IsBlank(a),true,false)

 

Best regards,

Community Support Team _ Phoebe Liu

 

 

4 REPLIES 4
panand99
Level 8

Re: how to invisble button when I click it

Hi @mae_be9292 

 

You can sets a variable on Select of a button- UpdateContext({varBtnHide:true})

Also on OnStart of screen - UpdateContext({varBtnHide:false})

 

On Button onvisible- if(varBtnHide,false,true)

mae_be9292
Level: Powered On

Re: how to invisble button when I click it

It didn't work Smiley Sad

panand99
Level 8

Re: how to invisble button when I click it

Is there is any error you are getting.?

Please share a screen shot of the design
v-yutliu-msft
Level 10

Re: how to invisble button when I click it

Hi @mae_be9292 ,

Please try this:

Set the button's OnSelect:

Set(a,1)

Set the button's Visible:

If(IsBlank(a),true,false)

 

Best regards,

Community Support Team _ Phoebe Liu