Working with Events and Event Handlers

From RAD Studio
Jump to: navigation, search

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

See Also