Show: Delphi
C++
Display Preferences
Working with Events and Event Handlers
From RAD Studio
Go Up to Working with Components Index
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.
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.
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