Window.setPos
Function/Meaning
Setting the window position
Type
Method of the
Window class
Syntax
setPos(
left
,
top
)
Arguments
left
Specifies the left edge position of the window.
top
Specifies the top edge position of the window.
Return Value
None (void)
Description
Specifies the position of the window.
When specifying the window position, it is more efficient to use this method to set them all at once rather than setting the
Window.left
and
Window.top
properties individually.
Reference
Window.left
Window.top
Window.setSize