Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent form resizing?
Message
De
26/10/2001 12:37:58
 
 
À
26/10/2001 12:31:07
Charlie Hancock
California Dept of Public Health
Richmond, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00573741
Message ID:
00573745
Vues:
15
>I'd like to prevent users from resizing a form. The best I've come up with is, on the form's Resize() event, to reset the form's Height and Width properties to my desired constants, but this is inelegant.
>
>I'd rather have something identical to the Column class' Resizable property, which if set to .F. doesn't display the double-headed arrow cursor that allows resizing in the first place. Any ideas?
>
>Thanks in advance,
>
>Charlie Hancock
>Oakland, California USA

Hi Charlie,

The FORM.BORDERSTYLE should do what you are looking for. I use it at 2. Also set MAXBUTTON to .F.

HTH
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform