Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling and Enabling all controls on Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01440952
Message ID:
01440974
Vues:
54
ReadOnly and Disabled should have different visual appearances. ReadOnly means you can still tab through the control and you should be able to copy the text to the clipboard. You can still use SetAll() on the controls.

But.. I am curious...is using and Edit button a requirement? I've found, as have my users, that it's much easier to just allow edit. Set a flag when data changes, then prompt the user to save if they close the form or move to a different record without saving.

Look at how Word and Excel work. The data is always in edit mode.

>Do you make each control ReadOnly=.F. or .T. then, within the PageFrame by using SetAll()? The Enable Property works fine, but what is the drawback, if any, for using the Enable property, rather than ReadOnly?
>
>Cecil
>
>>They should be ReadOnly, not disabled.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform