Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing All contained containers and All their controls
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Accessing All contained containers and All their controls
Divers
Thread ID:
00227313
Message ID:
00227313
Vues:
57
Hi There!

I am trying to set various properties on all controls.
So from the top-level parent container I have something like:

LOCAL lnIndex
FOR lnIndex=1 TO This.ControlCount
This.Controls(lnIndex).Property = someValue
ENDFOR


But some controls are containers that contain other little
containers with little oblects in them.

Getting into hierarchical referencing implies having to
chech first for containers and non-containers - more code!!

Isn't there a more straight forward (kind of flat) way of doing this?

Thanks you.

Mathias
Mathias Banda

Time is longer than a rope.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform