Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looping through a set of controls
Message
De
29/01/2003 09:51:32
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00746597
Message ID:
00746661
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Hi John!

Use the SetAll method. E.g.:
   ThisForm.SetAll("Enabled", .F.)   && All controls
   ThisForm.SetAll("Enabled", .F., "TextBox")   && Only textboxs
   ThisForm.SetAll("Enabled", .F., "CommandButton")   && Only commandbuttons
Bye!

> If I have 20 textboxs, couple listboxs, and a few command buttons... and I
> want to enable/disable them all.... is there an easy way I can loop
> through a forms commands and disable them all?
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform