Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cycling through controls in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00666032
Message ID:
00666042
Vues:
31
This message has been marked as the solution to the initial question of the thread.
Hi, Enmanuel!

Every container object (form, page, grid etc) has a collection, which you can iterate using
FOR EACH loObject IN This.Controls
   ...do something wiht loObject
ENDFOR
Now you need a mechanism which can find out that loObject is a container object too and call the iterator function recursivly!

BTW: Be aware of different names of these collections in different containers ("Controls" in a form, "Pages" in pageframe, "Buttons" in a option group)!
May be you can also use the "Objects" collection, but I'm not familiar with this!
SeBaFlu
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform