This element represents an action that can be triggered by the end user with an action button, or by other events, using the ACTION_TRIGGER element.
See Attributes Common to All Elements.
Name | Value Type | Default Value | Description | Comment | V. | Exp. |
---|---|---|---|---|---|---|
type |
action type |
Empty. |
The type of action to execute. |
Each action type may use specific attributes. See the available Built-In Action Types for more information. |
1.9.1 |
No |
name |
Empty. |
Displayed named of the action. |
|
1.9.1 |
No | |
comment |
Empty. |
Comment about the action. |
|
1.9.1 |
No | |
enabled |
Empty. |
activation status of the action. |
If disabled, the action will not execute. |
1.9.1 |
1.9.1 |
The following example creates a button that displays a message box saying "Hello World!":
<?xml version="1.0" encoding="utf-8" ?> <SKIN> <ACTION id="my_action" type="DisplayMessageBox" message="Hello World!" /> <IMAGE_ACTION_BUTTON action_id="my_action" image="my_image" /> </SKIN>