Responding to Clicks

From RAD Studio
Jump to: navigation, search

Go Up to Designing Toolbars and Cool Bars


When the user clicks a control, such as a button on a toolbar, the application generates an OnClick event to which you can respond 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.

Topics

See Also