Returns a reference for an object at the specified point.
SYS(1270 [, nXCoord, nYCoord]) |
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.
Return Value
Character or object reference. SYS(1270) returns a reference to the object at the location specified by nXCoord and nYCoord, if included. If nXCoord and nYCoord are omitted, SYS(1270) returns a reference to the object in the location of the current mouse position. If no object is located at either position, SYS(1270) returns False (.F.).
Note: |
---|
For dockable forms, SYS(1270) will not return the proper object if the form is docked with other forms and the mouse (or nXCoord, nYCoord) is over the titlebar of the docking container. |