{ON_ACTIVATE}

Syntax

{ON_ACTIVATE=Event_Name}

Argument

Type

Description

Event_Name

C

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.

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only

Example

Refer to {CAN_EXIT} for an example.

See Also

Xdialog Commands