Events page

From Appmethod Topics
Jump to: navigation, search

Go Up to Object Inspector

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 Appmethod.

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