Method XbpWindow():currentPos() Foundation

Returns the current position of the window.

:currentPos() --> aPos

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.


The method :currentPos() retrieves the current position of an Xbase Part. 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().


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.