GRAPHIC GET LOC statement

Purpose

Retrieve the location of the selected graphic window on the screen.

Syntax

GRAPHIC GET LOC TO x&, y&

Remarks

This statement allows you to retrieve the location of the selected graphic window.  If no graphic object is selected, or it is not a graphic window, 0,0 is returned.  The location is always specified in the same terms (pixels or dialog units) as the parent dialog, relative to the upper left corner of the screen.

See also

GRAPHIC ATTACH, GRAPHIC GET PPI, GRAPHIC SET LOC