Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
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
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