Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read-only toggle?
Message
De
17/04/1998 06:19:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00092806
Message ID:
00092807
Vues:
27
>Is there a simple way to switch a standard data entry form to read-only? I have a rather complex five-tab page frame, including a grid for a child table, that I would like to be able to use for those who have been designated with Read Only ability. The user status would be identified as a property of the application object, so it would be easy to check in the form's init method, but then what? Do I need to list all of the controls on the form with a readonly = .t.? (assuming the default is .f. -- although the opposite might actually be more efficient (having the controls made editable for those few users with the authority to edit. I do the exact thing by looping through each object on the form and just do a object.Enabled=.f. or =.t.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform