Documentation

btnenable

Syntax: %btnenable(number|id,value)

Sets or returns the enabled state of a button. Disabled buttons are greyed out. This is different than disabling the class which will remove the buttons. The button parameter can be either button number or id. If value is zero, then the button is disabled, else it is enabled.

Examples:

#CALL %btnenable(1,0)
Disables button number 1

#ECHO %btnenable(North)


Returns the state of button with id "North"

Add comment

Login or register to post comments