Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Control Array at Run Time
Message
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Creating a Control Array at Run Time
Miscellaneous
Thread ID:
00149272
Message ID:
00149272
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform