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
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00958223
Message ID:
00960580
Vues:
13
Guess that's the problem with basing my class MOSTLY on your resizer class. <g> I did a few things different and had to adjust accordingly ... I did get things working though.

I did a few things different and I think that's what is keeping
>Hi Rodd.
>
>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:
>
>Interesting. I just tested this with the sample form from the book. All I did was to set its WindowState to 2-Maximized and all the controls redsized and re-positioned themselves just fine.
>
>Did you drop the resizer on the form visually? This may be the problem. The resizer must be the last object in the zOrder. In the resizer's Init() it cycles through all controls on the form and tells them to save their original dimensions. Therefore, the resizer must be the last object instantiated.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform