Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize class doesn't seem to work with Maximized form!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Resize class doesn't seem to work with Maximized form!
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00958223
Message ID:
00958223
Vues:
60
I created a class based mostly on the resizer in Marcia's '1001 Things ...' book. I've created a form class that has this resizer class on it (design time). The form's Resize event has the code:
this.ntmResizer._AdjustControls(this)
The form class also has the WindowState property set to 2 - Maximized. For some reason, the controls never get adjusted when the screen is initially displayed.

Once the form is displayed and I resize the form, controls grow and shrink appropriately. It's almost as if the Resize() event never gets called when the form initially maximizes.

Any ideas on why this might be or what can be done to get the form to call resize when it Maximizes the window initially?

Thanks in advance.

Rodd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform