Renaming an Event Handler

The UI Designer will implement shell files for each event you wish to handle within your application. It is up to you how to implement the details of how to handle each event.

NOTE Renaming an event handler does not remove the event handling routine from the source, that must be done manually.

The Event's view provides a quick way to navigate to event handler code.

Navigating to the Event Handler

  1. Select an object which responds to events.
  2. The object will be displayed with the selection rectangle .

  3. Display the Events view (if it is not already displayed) using Window > Show View > Events.
  4. The Events view displays all events associated with the selected object type. Events for which a handler already exists will display the name of the handler next to the event.

  5. Click on the handler name you wish to change.
  6. The Function name will change to an editable text field.

  7. Change the name of the routine as desired and click outside of the field to accept the change.
  8. NOTE You may be asked to confirm saving modified information.

    A new handler is created based on the new name you have provided.

    The source file editor will open to the new handler.

Related concepts
Related references
Related tasks