Method XbpMenuBar():disableItem() Foundation
Disables a menu item.
:disableItem( <nItemIndex> ) --> lSuccess
The method returns the value .T. (true) if the specified menu item is disabled, otherwise it returns .F. (false).
The :disableItem() method temporarily marks a menu item as "disabled" (or unavailable) at runtime. Whether a particular menu item is currently disabled is determined using the :isItemEnabled()method. After the :disableItem() method is used to disable a menu item, it can be enabled (made available) using the method :enableItem().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.