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.
- InProject view, select the object with an event.
- InPropertiesunderEvents, next to the event to associate with a method, select .
- In the selection window, navigate to and select the method to add:
- Global method. ExpandCommandsand expand the method node to select a method.
- Local node. Expand the node of the object to select a method.
- ChooseSelect.
- (optional) If the method requires arguments, expand the method and set the arguments.
- (optional) Associate any additional methods with the event.
Provide Feedback