GRAPHIC GET POS statement  

Purpose

Retrieve the POS (last point referenced) by a graphic statement.

Syntax

GRAPHIC GET POS To XVar!, YVar!

Function Form:

XVar! = GRAPHIC(POS.X)

YVar! = GRAPHIC(POS.Y)

Remarks

The coordinate points XVar!, YVar! are specified in the same terms (pixels or dialog units) as the parent dialog (or world coordinates, if those were chosen with GRAPHIC SCALE).

See also

GRAPHIC ATTACH, GRAPHIC CELL, GRAPHIC SCALE, GRAPHIC SET POS