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.
  1. In
    Project view
    , select the object with an event.
  2. In
    Properties
    under
    Events
    , next to the event to associate with a method, select
    Add
    .
  3. 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.
  4. Choose
    Select
    .
  5. (optional) If the method requires arguments, expand the method and set the arguments.
  6. (optional) Associate any additional methods with the event.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.