Set up a link between the method currently in the Source editor and an event.

This dialog box establishes links between events and methods. If you want a given event to trigger a method, you can link that method to multiple events. The Link Event dialog box displays the name of the method currently displayed in the Source editor, all the objects on the report in a pane on the left, and each object’s events in a pane on the right.

Dialog box options

 

Objects

The objects currently available on the form

Events

The events associated with the currently selected object

While editing a method in the Source editor, select Link Event from the Method Menu, then select an object in the left pane, and an event in the right pane, and the method will be linked to that event.

How to get there: In the Source editor, choose Method|Link Event.