Method XbpMenuBar():isItemEnabled() Foundation

Returns whether the specified menu item is currently enabled.

:isItemEnabled( <nItemIndex> ) --> lEnabled
<nItemIndex> is a numeric value specifying the ordinal position within the menu object of the menu item whose status is returned.

This method returns the value .T. (true) when the menu item is enabled, otherwise .F. (false) is returned.


The :isItemEnabled() method determines whether a menu item is currently enabled. A menu item cannot be selected by the user unless it is enabled. Menu items are disabled using the :disableItem() method. Menu items can be temporarily disabled if parts of the program accessed using the menu item are not currently appropriate.


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.