RAD Studio
ContentsIndex
PreviousUpNext
Generating a New Event Handler

You can generate skeleton event handlers for forms and other components.

To create an event handler:

  1. Select a component.
  2. Click the Events tab in the Object Inspector. The Events page of the Object Inspector displays all events defined for the component.
  3. Select the event you want, then double-click the Value column or press Ctrl+Enter. The Code editor opens with the cursor inside the skeleton event handler, or begin...end block.
  4. At the cursor, type the code that you want to execute when the event occurs.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!