Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(1270) returns screen object?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00339660
Message ID:
00339729
Views:
24
>>
>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!
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform