Application.EnableMenuItems

From Xojo Documentation

Event


Application.EnableMenuItems()

Supported for all project types and targets.

Executes when the user clicks in the menubar to give you the opportunity to determine which menu items to enable.

Notes

It also executes when the application opens if no default window is selected for the project and when the last window is closed.