>>
>Hi Marcia & Nigel,
>
>I don't think that this is goofy at all. If the mouse pointer is within the VFP main window, and no form is present it returns a reference to the _SCREEN object. If it's over the command window or an edit window or outside the main VFP screen it returns .F. This is consistent because the screen is an object and these other items aren't.
The problem is: position a form at say 5,100 and try SYS(1270, 6, 101) - this is returning the _Screen, not the form object. In my case, the form is positioned at (_Screen.Width-160, 1) I check SYS(1270, _Screen.Width-160, 5) and it doesn't return the form object. It should!