Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a Control Array at Run Time
Message
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Creating a Control Array at Run Time
Divers
Thread ID:
00149272
Message ID:
00149272
Vues:
52
I wish to create a control array at run time, with or without having a first control placed onto my form. Here is an example :

Consider creating an array of option butons.
I read a recordset, containing payment modes (i.e. Card, Check, Cash,...). i don't know at first how items there are into the recordset.
I want to use recordcount to set the max items into my array.
And I want to set payment text to the caption, and key to the index, i.e. Cash, 2, Check, 3, and so on.

I've look at MS Online Books, but did not find anything.

Help would be highly appreciated
VB Developer
Servilog Concept
jmb@octalfrance.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform