Xbasic

{ON_ACTIVATE}

Syntax

{ON_ACTIVATE= Event_Name }

Arguments

Event_Name

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

Description

The {ON_ACTIVATE} 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