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
Title:
Resize class doesn't seem to work with Maximized form!
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00958223
Message ID:
00958223
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform