Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible bug with _Screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00635038
Message ID:
00635057
Vues:
19
>Just curious if anyone else noticed similar behavior...
>
>In VFP 7 SP1, when setting the _SCREEN.AutoCenter = .T. while VFP/_SCREEN is maximized, the IDE, app, etc. partially jumps off of the screen, out-of-bounds and needs to be reset... (behavior can be duplicated from the command window)
>
>
>*-- if VFP is not maximized already
>_SCREEN.WindowState = 2
>
>*-- The following caused VFP to go out-of-bounds
>_SCREEN.AutoCenter = .T.
>
>*-- reset to maximized
>_SCREEN.WindowState = 2
>
>
>
>
>VFP 6 SP5 does not do this. Very minor, but definitely annoying when done during the startup of an application...
>
>
>Just wanted to know if anyone else sees this before submitting it as a bug...
>
>
Brian,

I see it, and I think I know why. _SCREEN refers now to the VFP desktop. What setting AutoCenter to .T. does is center the desktop. The frame is referenced by the _VFP object. You'll note that _SCREEN.hWnd does not equal _VFP.hWnd.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform