Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling and Enabling all controls on Form
Message
 
 
À
28/12/2009 17:50:34
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:
01440962
Vues:
56
>They should be ReadOnly, not disabled.
>
>>I have a form that has a PageFrame and several pages on the PageFrame.
>>
>>What I'd like to do is to protect the existing data and upon INIT of the form, disable all pages of the pageframe, including all of the textbox controls, dropdown boxes, checkboxes, etc. Then, after the user clicks on the EDIT button, I'd like to enable all pages of the PageFrame and all of the controls therein.
>>
>>What is the best way to do this? I've heard of enabling through a FOR loop, I think, sort of like rolling through a collection.

I agree, Cecil, ReadOnly sounds much better than disabled. And also it looks better as well.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform