GRAPHIC GET LOC statement  

Purpose

Retrieve the location of the selected graphic target on the desktop.

Syntax

GRAPHIC GET LOC TO x&, y&

Function Form:

x& = GRAPHIC(LOC.X)

y& = GRAPHIC(LOC.Y)

Remarks

This statement allows you to retrieve the location of the selected graphic target.  If no graphic object is selected, 0,0 is returned.  The location is specified in pixels, relative to the upper left corner of the screen.

See also

GRAPHIC ATTACH, GRAPHIC GET PPI, GRAPHIC SET LOC