Show: Delphi
C++
Display Preferences
Responding to Clicks
From RAD Studio
Go Up to Developing the Application User Interface Index
When the user clicks a control, such as a button on a toolbar, the application generates an OnClick event which you can respond to with an event handler. Since OnClick is the default event for buttons, you can generate a skeleton handler for the event by double-clicking the button at design time. For general information about events and event handlers, see Working with Events and Event Handlers and Generating a Handler for a Component's Default Event.