Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize class doesn't seem to work with Maximized form!
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00958223
Message ID:
00960580
Views:
15
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform