Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thank you for your help
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00135546
Message ID:
00135575
Vues:
11
>How do I can get the list of all object on a form including Page in pageframe and column in Grid in my program? Is there a command to do that?

There is probably a much better way, but you could look at the txtbtns class in WIZSTYLE.VCX. It has a method .setallprop which loops through the controls on a form in order to set properties. It calls itself recursively when it sees a container. It actually doesn't handle grids or pageframes that way, but you could make some similar code which would use .pagecount or .columncount instead of .controlcount.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform