Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grouping a bunch of textboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00154782
Message ID:
00156460
Vues:
18
Tim, to really have the kind of control you (will ultimately) need over your user interface, I think that subclassing a textbox and dynamically instantiating as many as you need in a control array is the way to go. The syntax is a bit tricky in the form's AddObject method:

Object.AddObject(cName, cClass, ...

because cName needs to be an array element like "MyControls[1]".

But if you subclass and use this approach, you will be able to dynamically dimension the control array to any size you need, traverse the array however you need, and use the Setall method to perform global changes on all instantiated textboxes of this class quickly.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform