Silverfrost Logo About Us | Contact Us

%gp - Window Postion


To get the current co-ordinates of the window position.


winio@('%gp', xy)
integer xy      (output)


Grave accent (`) - used only in conjunction with %aw - Attach MDI Child Window in order to provide co-ordinates that are relative to an enclosing MDI frame.


x and y are returned as the co-ordinates in pixels of the current position in the window relative to the top left-hand corner (0,0) of the window. These values can be used with %sp - Window Position.

See also

%sp - Window Position




Copyright © 1999-2018 Silverfrost Limited