Method XbpCrt():currentPos() Foundation
Returns the current position of the window.
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 window.
Description
The method :currentPos() retrieves the current position of an XbpCrt window. The origin for the coordinates is the point {0,0} in the parent's coordinate system. The position of a window can be changed using the method :setPos().
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.