Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save/Restore the Minimized Maximize setting
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00005342
Message ID:
00005369
Vues:
24
>I'm interested in saving information about windows in a users file. I have been able to successfully to save the position and the size of the window successfully. My problem stems from the fact that it appears that VFP does not update various window dimensions or call various events when the window's visible prop is set to .F.
>
>My main scenerio is that I have a window that is in the destroy event and the window is maximized. I want to save the position of the window in its non maximized state (so when it is restored, and un-maximized it will fall back into its old position). So what I do is set the WindowState property to 0 and record the window dimensions.

BTW, how *do* you get window dimensions?

>Unfortunatelly, the dimensions do not seem to be updated when the windows visible is .f..
>
>Does anyone have any suggestions?

Well, have you tried SAVE WINDOW and RESTORE WINDOW?
Just a thought...
alistair israel
Distressed DBA, Sleepy SysAd, Weary WebMaster (aka Senior Software Engineer)
aisrael@poboxes.com
Makati City, Philippines
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform