Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enable and Disable Inlist
Message
De
05/10/2005 17:29:36
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
 
 
À
05/10/2005 13:42:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01056317
Message ID:
01056510
Vues:
22
Jon,

Setall is a good way.
or
If I have some text boxes to enable or disable but not all, I usually put the same flag value into the Tag property of each text box to get that treatment. then I run through the collection like this
for each oControl in thisform.pageframe1.pagefoo.controls
   if oControl.tag = "MYFLAG"
      oControl.enabled = .t.
   else
      oControl.enabled = .f.
   endi
endf
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform