Events page

From RAD Studio
Jump to: navigation, search

Go Up to About the Object Inspector Index

The Events page of the Object Inspector enables you to connect forms and components to program events. To generate a default event handler for an event, double-click the right column. The product creates the event handler and switches focus to the Code Editor. In the Code Editor, you write the event handlers that specify how a component or form responds to a particular event.

See Event Handlers for a definition of an event handler and an example of an event handler block generated by RAD Studio.

Event Handlers in the Object Inspector

When you select an event, the value column can display a drop-down list of existing event handlers that can respond to the event. Choose one of these existing event handlers if you write one event handler to respond to multiple events.

The Events page displays only the published events of the component that is selected in the form.

See Also

Personal tools
Newest Version: XE
In other languages