RAD Studio |  |

Working with Events and Event Handlers
See Also
Collapse All

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 runtime occurrence, often a user action. The code that responds directly to an event—called an event handler—is a Delphi procedure. The sections that follow show how to:

- Generate a new event handler.
- Generate a handler for a component's default event.
- Locate event handlers.
- Associate an event with an existing event handler.
- Associate menu events with event handlers.
- Delete event handlers.

See Also

Associating Menu Events with Event Handlers

Locating Event Handlers

Calling Methods

Setting Component Properties

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!