place a combo box on a form and set it's index property to 0
then in code when you need to add a new combo box do the following
i = ubound(comComboBox)+1
Load comComboBox(i)
comComboBox(i).Left = Left position for new combobox
comComboBox(i).Top = Top Position for new combobox
Then you just reference the control array for the combo box you need to
control.
-----Original Message-----
From: yinmos [mailto:yinmos@y...]
Sent: 27 November 2001 17:10
To: professional vb
Subject: [pro_vb] How to add a new control(combo box) at run time?
Hi,
I need to add some combo boxes at run time but is uncertain of the number
to be added.
How can i add one dynamically to the project at run time
dawson.brown@w...
Read the future with ebooks at B&N
http://service.bfast.com/bfast/click?bfmid=2181&sourceid=38934667&categoryid
=rn_ebooks