DesktopMenuItem.MenuItemSelected

From Xojo Documentation

Event


DesktopMenuItem.MenuItemSelected() As Boolean

New in 2021r3

Supported for all project types and targets.

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

Notes

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