EventItem
Contents
[
Hide
]EventItem class
Encapsulates an event code. An EventItem element can trigger two kinds of actions: it can run an add-on, or it can send a notification of the event to the calling program.
EventItem()
Constructor.
Properties
| Name | Type | Description |
|---|---|---|
| ID | int | The ID of the event. |
| Action | int | Specifies the action code of the parent EventItem element.For an EventItem element to be saved in a DatadiagramML file, |
| EventCode | int | A code indicating the event that triggers the add-on. For more information on event codes, see Event Codes in the Micros |
| Target | String | Specifies the target of an event. |
| TargetArgs | String | Specifies a string containing arguments to be sent to the target of an event. |
| Enabled | int | Represents a flag indicating if the event is enabled or disabled. The value of the property is BOOL integer constant. |