Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
xPos
ValueDescription
-2Centers the window within the screen.
-1Centers the window within the owner window.
Integer valueThe x coordinate at which to place the window. The coordinate is relative to the owner window.
yPos
ValueDescription
-2Centers the window within the screen.
-1Centers the window within the owner window.
Integer valueThe y coordinate at which to place the window. The coordinate is relative to the owner window.

See also

SIZE property

Examples

Code Block
declare subroutine PlaceDialog
* Center a window to the screen
PlaceDialog( -2, -2 )
 
* Center a window to the owner window
PlaceDialog( -1, -1 )
 
* Set the window's position to a 5 pixel xy offset to the owner window
PlaceDialog( 5, 5 )