MenuItem.Action

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Event


MenuItem.Action() As Boolean

Supported for all project types and targets.

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

Notes

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