MenuItem.Enable
From Xojo Documentation
![]() |
This item was deprecated in version 2021r1. Please use MenuItem.Enabled as a replacement. |
Method
Sets the Enabled property of the menu item to True. Call Enable only within an EnableMenuItems event handler.
Example
This example enables the Save menu item only if the TextHasChanged property is True.