An event is any activity (for example, clicking a button, typing a keyboard shortcut, loading a form, or changing the value of a variable) that signals a need for the application to carry out one or more actions. Each action can be a command sequence, a method, or mix of both. The methods themselves may be local methods associated with particular forms or form objects, or global methods that can be initiated from anywhere in the application. The global methods are listed in the Methods node of the application tree. The form methods are listed under the nodes of the respective form. The local methods are defined in the
Settings windows of the forms or form objects with which they are associated. When a form object has an associated method, it may be opened for editing by performing a Ctrl+Alt+click on the object. If the Ctrl+Alt+click is performed on a form object that has no method, then a new local method, associated with the object, will be created and opened for editing.
The events that initiate these actions may also be global or local. The global events are listed in the Events node of the application tree and include all events that are triggered by changes to the various data entities, such as global parameters or string variables. Global events can also be associated with the startup and shutdown of the application. In addition,
Timer events can be used to periodically trigger events based on a set time interval (delay). The local events, like local objects, are defined in the
Settings windows of the forms or form objects with which they are associated.
Event nodes trigger whenever the source data changes, regardless of if it is changed from a method, form object, or in any other way. Events associated with form objects only trigger when the user changes the value in the form object.