Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I decrease the size of a form beyond min settings
Message
 
À
28/10/1998 11:43:51
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00151669
Message ID:
00151759
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform