OFF EVENT
Cancels event branches defined by ON EVENT.
Usage:
|
OFF EVENT @Pushbutton_3,"ACTIVATED"
OFF EVENT @Slider, "DONE"
|
Description:
The OFF EVENT statement undefines and disables a widget event that was defined and enabled earlier by an ON EVENT statement. There are three important differences between the OFF EVENT and DISABLE EVENT statements:
-
DISABLE EVENT temporarily disables the event, whereas OFF EVENT permanently deactivates the event.
-
Only one occurrence of the event will be logged if the event is disabled with a DISABLE EVENT statement. Therefore, the branch will be taken once the event is re-enabled with an ENABLE EVENT statement.
-
The event will NOT be logged and the branch will never be taken if the event is deactivated with an OFF EVENT statement.
See Also: