Add a method to an existing event
An object has default events. Select a method that the event is to perform when the event occurs at runtime. An event can have multiple methods to perform.
- In Project view, select the object with an event.
-
In Properties under Events, next to the event to associate with a method, select
.
-
In the selection window, navigate to and select the method to add:
- Global method. Expand Commands and expand the method node to select a method.
- Local node. Expand the node of the object to select a method.
- Choose Select.
-
(optional) If the method requires arguments, expand the method and set the arguments.
Tip: If there are multiple aliases associated with an argument, select
to display a table of aliases and their values. In the table, create dynamic links between alias values.
- (optional) Associate any additional methods with the event.