Position (current)¶
xposn, yposn - run time read-only clauses
SYNTAX (windows)
window_id->xposnwindow_id->yposn
SYNTAX (objects)
[[window_id.]group_id.]object_id->xposn[[window_id.]group_id.]object_id->yposn
The xposn and yposn clauses are used to retrieve a window or object’s current position at run time. These values may not be updated.
The xcreate and ycreate clauses may be used in the same way to retrieve an object’s initial position, i.e. the position in which it is created. These clauses may be updated.
These clauses return values in accordance with the grid type being used.
See Pixel and character positioning.
EXAMPLE
tmp.TaskXpos = (wintask->xposn)
RELATED TOPICS |