Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I decrease the size of a form beyond min settings
Message
 
To
28/10/1998 11:43:51
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00151669
Message ID:
00151759
Views:
13
Hi George,

>I've made a form without a title bar. I've reduced the size to 25 height and 110 width. Anything less than that and the form resets these back their minimum setttings. It doesn't have to be at design time, it could be at run time but I haven't figured out a way to do that either. It also resets itself during run time..

VFP reserves the space for the titlebar. *g* Set the MinHeight and MinWidth properties to 1, the default -1 causes the behaviour you describe. You can't reliable set the form dimension in the Designer, they might be restored to the minimum values of 24x110 when you save it. But setting the Width and Height at runtime works. Be carefull not to use resizable borders with forms less than 24x110, VFP can't resize forms smaller than that properly.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform