Method XbpSysWindow():currentPos() Foundation

Returns the current position of the system window.

Syntax
:currentPos() --> aPos
Return

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

Description

The method :currentPos() retrieves the current position of the system window. The origin for the window coordinates is the point {0,0} in the parent window's coordinate system. The position of the 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.