Working with Events and Event Handlers
Go Up to Working with Components Index
In Delphi, almost all the code you write is executed, directly or indirectly, in response to events. An event is a special kind of property that represents a run-time occurrence, often a user action. The code that responds directly to an event - called an event handler - is a Delphi procedure.
In C++Builder, almost all the code you write is executed, directly or indirectly, in response to events. An event is a special kind of property that represents a run-time occurrence, often a user action. The code that responds directly to an event — called an event handler — is a method of an object.
Topics
- Generating a New Event Handler
- Generating a Handler for a Component's Default Event
- Locating Event Handlers
- Associating an Event with an Existing Event Handler
- Associating Menu Events with Event Handlers
- Deleting Event Handlers