Method XbpMenu():enable() Foundation

Enables the Xbase Part.

Syntax
:enable() --> lSuccess
Return

This method returns the value .T. (true) when the Xbase Part could be set as "selectable", otherwise it returns .F. (false).

Description

The :enable() method reverses the effect of the :disable() method. To do this, the method uses :enableItem() to re-enable all menu items in the menu object. In addition, if the object is a submenu, the method also enables the corresponding item in the parent menu. A submenu is a XbpMenu object that is added to another menu or menubar object using the method :addItem().

Feedback

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.