SYS(1270) - Object Location

Returns a reference for an object at the specified point.

SYS(1270 [, nXCoord, nYCoord])

Return Values

Object, Logical

Parameters

  • nXCoord
    Specifies the horizontal coordinate in pixels relative to the Windows desktop.
  • nYCoord
    Specifies the vertical coordinate in pixels relative to the Windows desktop.

Remarks

If you omit the coordinates nXCoord and nYCoord, a reference to the object that is under the current mouse position is returned. If you include the coordinates nXCoord and nYCoord, a reference to the object at that location is returned.

False (.F.) is returned if no object is under the mouse pointer or located at the coordinates specified with nXCoord and nYCoord.

See Also

AMOUSEOBJ( ) | CREATE FORM | GETPEM( ) | PEMSTATUS( ) | SYS(1269) - Property Information | SYS(1271) - Object's .SCX File | SYS(1272) - Object Hierarchy | ASELOBJ( ) Function