Page 1 of 1

How to: Disable all buttons in the current card?

Posted: Tue Dec 08, 2015 6:30 am
by Cheong
Hi readers,

Is there a way I can disable all buttons in the current card at once, rather than disable the buttons one by one in lines of coding?

Thanks.

Re: How to: Disable all buttons in the current card?

Posted: Tue Dec 08, 2015 6:54 am
by Thierry

Code: Select all

   repeat with Nbutton =1 to the number of buttons of this card
      disable button Nbutton of this card
   end repeat
HTH,

Thierry

Re: How to: Disable all buttons in the current card?

Posted: Tue Dec 08, 2015 7:12 am
by Cheong
Hi Thierry,

Thanks very much! It works.