Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a form ReadOnly with one command?
Message
 
À
12/11/1998 08:51:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00156925
Message ID:
00156954
Vues:
38
>thisform.ReadOnly = .t.
>
BOb,

That would probably work if form's had a readonly property.

Michiel,

You can give your form class a lReadOnly property, and in the calsses for the controls you can put this code in the refresh;

THIS.ReadOnly = THISFORM.lReadOnly

Then in the form's Init accept a parameter that indicates if the form is read only or not, assign a .T. or .F. to the form's lReadOnly Property and then issue a THISFORM.Refresh()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform