Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with MaxWidth/MaxHeight maximizes
Message
From
13/02/2014 10:13:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form with MaxWidth/MaxHeight maximizes
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01594236
Message ID:
01594236
Views:
116
I have a form class for which I've set MaxWidth and MaxHeight. When I click the maximize button in the form, it properly maximizes to the size I've specified.

However, the form runs inside a top-level window. If the top-level window is minimized and then restored while my form is maximized, when it reappears, my form now fills the top-level window, ignoring MaxWidth and MaxHeight. The same thing happens if I maximize the top-level window while my form is maximized.

Anybody run into this? Have any ideas how to prevent it?

Tamar
Next
Reply
Map
View

Click here to load this message in the networking platform