Method XbpMenuBar():currentPos() Foundation

Returns the current position of the menubar.

Syntax
:currentPos() --> aPos
Return

This method returns an array containing two elements: { nX, nY }. This array contains the x and y coordinates for the lower left corner of the Xbase Part.

Description

The method :currentPos() retrieves the current position of a XbpMenuBar object. The origin for the coordinates is the point {0,0} in the parent's coordinate system.

The position of a XbpMenuBar object cannot be changed. The window area used to display a menubar is maintained automatically by the operating system.

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.