Method XbpMenuBar():selectItem() Foundation
Sets the default menu item.
Syntax
:selectItem( [<nItemIndex>] ) --> lSuccess
Parameters
<nItemIndex>
<nItemIndex> is a numeric value specifying the ordinal position in the menu object of the menu item set as the default.
Return
This method returns the value .T. (true) if the default menu item could be set, otherwise it returns .F. (false).
Description
The :selectItem() method determines which menu item is highlighted (or selected) when the menu is activated. If no parameter is specified, the default menu item is displayed when the menu is activated.
Windows does not support this method.
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.