Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SYS(1270) returns screen object?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00339660
Message ID:
00339729
Vues:
23
>>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform