Xbasic

{ON_DEACTIVATE}

Syntax

{ON_DEACTIVATE= Event_Value }

Arguments

Event_Value

Character. A value for a_dlg_button that the event handlers in the %code% section to respond to.

Description

The {ON_DEACTIVATE} function sets the value of a_dlg_button and generates a virtual button click. This allows the event handlers in the %code% section to respond to external events.

Example 

Refer to {CAN_EXIT} for an example.

Limitations

Desktop applications only

See Also