Method XbpCrt():hasMenuBar() Foundation

Specifies whether the XbpCrt object has a menu bar.

Syntax
:hasMenuBar() --> lHasMenuBar
Return

This method returns the value .T. (true) if the XbpCrt object has a menu bar object assigned, otherwise .F. (false) is returned.

Description

The method :hasMenuBar() can be used to determine whether an XbpCrt object currently has a menu bar object installed. This information can be useful for size calculations or when setting up an application's menu system. A menu bar object is installed using the method :menuBar().

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.