action Attribute (DCL)

Specifies an AutoLISP expression to perform an action when this tile is selected. Also known as a callback.

Supported Platforms: Windows only

action = "(function)";

For some kinds of tiles, an action can also occur when the user switches focus to a different tile.

The possible value is a quoted string that is a valid AutoLISP ® expression. A tile can have only one action. If the application assigns it an action (with action_tile), this overrides the action attribute.

Note: You cannot call the AutoLISP command function from the action attribute.