Add an event to an object from another object

Add an event from an object to another object to avoid recreating the same event for multiple objects.

  1. In Project view, select the object to which you want to add the event.
  2. In Properties after Events, select AddAdd external event.
  3. Navigate to the object that has the event you want to add to the current object, select the event, and then choose Select.
  4. To associate a method with the event, after the event, select AddAdd net method and select the desired method.
  5. In the selection window, navigate to and select the method and perform one of the following actions:
    • To add a Global method, expand the Commands node and expand the method node to select a method.
    • To add aLocal node, expand the node of the object to select a method.
  6. Choose Select.
  7. (optional) If the method requires arguments, expand the method and set the arguments.
  8. (optional) Repeat 4 to 6, to associate any additional methods with the event.