SYS(1270) - Object Location

See Also

Returns a reference for an object at the specified point.

Syntax

SYS(1270 [, nXCoord, nYCoord])

Returns

Object, Logical

Arguments

nXCoord

Specifies the horizontal coordinate.

nYCoord

Specifies the vertical coordinate.

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.