DesktopCanvas.MenuBarSelected
From Xojo Documentation
Event
The DesktopCanvas control has received the focus. Menu handlers are invoked if the DesktopCanvas control has the focus.
Notes
This event is only for use with menu items where you have set the DesktopMenuItem.AutoEnabled property to false. Otherwise, menu items are automatically enabled and disabled.