Adding an Event Handler to a Menu Item
See Also
You can assign event handlers to menu items just as you do for any other component.
To add an event handler to a menu item, do any of the following:
- Select the menu item in the Inspector window. Then click the Events button
in the Properties window and select the desired event properties.
- Right-click the menu item in the Inspector window or Form Editor and choose
from the Events menu in the node's contextual menu.
- Use the Connection wizard by clicking the connection icon in the Form Editor
toolbar and then clicking (in the Inspector window) the connection source
and target components.
Legal Notices