Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looping through a set of controls
Message
De
29/01/2003 15:24:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00746597
Message ID:
00746864
Vues:
22
>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?

You already got some advice. I think you can also go through the objects() collection. See also FOR EACH.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform