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