%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 (Attach MDI Child Window) 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 (Window Position).

See also

%sp (Window Position)

 

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited