Method XbpMenu():currentSize() Foundation
Returns the current size of the menu.
:currentSize() --> aSize
This method returns an array of two elements: { nXsize, nYsize }. This array contains the dimensions of the menu in the x and y direction.
The method :currentSize() retrieves the current size of a XbpMenu object.
Method :currentSize() can only be used with XbpMenu objects that are visible on the screen, eg. after the call to method :popUp(). If a menu is added to another menu object as a submenu, the return value of :currentSize() is undefined whenever the submenu is not displayed.
The size of an XbpMenu object cannot be changed. Instead, the window used to display a submenu is maintained automatically by the operating system.
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.