Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Fred,
>Oh, it was just a thought, I hadn't tried it yet. (VFP6/SP3) But I don't think just setting the WindowState property actually does the re-sizing, does it?
It fires the Moved and the Resize events. If you take out the Visible = .F. line, it works, but I don't feel like showing this akwardness to users.
What I'm trying to do is save the size and postion of the form. If the form is maximzed, I want the form to come in maximzed, and when it is restored, the form states should go to the size and position it was at before it was maximized and closed.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement