Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement