Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show form maximized problem
Message
From
21/11/2003 14:20:25
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Show form maximized problem
Miscellaneous
Thread ID:
00852423
Message ID:
00852423
Views:
38
I have a VFP8SP1 form that I'd like to display initially maximized. I set its WindowState property to 2 (Maximized) and when the form shows, it is as expected - Maximized. The problem that I am experiencing is that there are controls that should be sized accordingly but they do not.

I have code in the form's resize event that works the way I need. If the form is initially displayed as Normal (WindowState = 0) and I click the Maximize button all is well...the controls in the form resize as expected.

It just does not work if the form is initially shown as maximized!

Anyone have any idea what I'm doing wrong?

TIA,

Mike
Next
Reply
Map
View

Click here to load this message in the networking platform