GRAPHIC GET LOC statement

Purpose | Retrieves the location of the Graphic Window on the screen.
Syntax | GRAPHIC GET LOC TO x&, y& Function Form: x& = GRAPHIC(LOC.X) y& = GRAPHIC(LOC.Y)
Remarks | This statement retrieves 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 specified in pixels, relative to the upper left corner of the screen.
See also | GRAPHIC ATTACH, GRAPHIC GET PPI, GRAPHIC SET LOC