Difference between revisions of "MenuItem.Action"

From Xojo Documentation

Line 1: Line 1:
| name=Action
| name=Action

Revision as of 21:46, 23 July 2019


MenuItem.Action() As Boolean

Supported for all project types and targets.

Fires when a MenuItem is selected. Return True to prevent the menu event from proceeding any further in the chain of menu handlers.


Refer to the MenuItem page for an example of how a menu that is created dynamically can use the Action event.