cancel
Showing results for 
Search instead for 
Did you mean: 

May I enable or disable a button at runtime?

Former Member
0 Kudos

Hi expert,

I am doing a prototyping via VC, is it possible to enable or disable a button at runtime? For example, I have a button in a view, if it is clicked, it will be disabled then, could it be controled via VC?

Thanks for your answer.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

i agree with Marcel. Use another form and then you can enable and disable the buttons

Former Member
0 Kudos

Hi

The button is in toolbar of table iView or in each row of the table

Former Member
0 Kudos

It is in the toolbar of the table iview.

Former Member
0 Kudos

You cannot disable toolbar buttons. Therefore I use a workaround. You have to use an extra form with the buttons.

Best Regards,

Marcel

Former Member
0 Kudos

Hi

Take the button as toggle button .

On properties tab, Make it default value as "true".

Check the disabled checkbox and enter the formula "BOOL(if(@BOOL1 == 'true',false,true))" where BOOL1 is the name of toggle button

this will solve your problem.

If you still face problem ,do contact

Former Member
0 Kudos

Sorry, how could I set it to be a Toggle button if this button is available only in a table view?