Silverfrost Logo About Us | Contact Us
 

%gp - Window Postion

Purpose

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

Syntax

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

Modifiers

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

Description

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.

See also

%sp - Window Position

 

 

 

Copyright © 1999-2017 Silverfrost Limited