ohadbp
September 4th, 2001, 11:44 AM
hi guys,
i have a combo box in my application. the combo box's style is dropdown list and is sorted.
i added items to the combo box like this:
for Index = 1 to 10
CustID = somestring
cmbCustomer.AddItem CustID
next Index
i also added some code to the Click event.
problem is that no matter what item i click on the ListIndex property is always -1, and i cant the item that was selceted
any idea how to solve it?
thanks,
ohad.
i have a combo box in my application. the combo box's style is dropdown list and is sorted.
i added items to the combo box like this:
for Index = 1 to 10
CustID = somestring
cmbCustomer.AddItem CustID
next Index
i also added some code to the Click event.
problem is that no matter what item i click on the ListIndex property is always -1, and i cant the item that was selceted
any idea how to solve it?
thanks,
ohad.