|
-
Jul 8th, 2004, 11:31 AM
#1
Thread Starter
Hyperactive Member
How to manually populate a DataComboBox [VB6]
Given a Data Combo Box [Dcb] I need to find a way to populate it manually with 3 fields (Type, Category, Location).
If this was an ordinary Combo Box I would do something like “ComboBox.Additem “Type”, 0” however that option does not seems available with Data Combo Boxes.
You may ask why am I using a Data Combo Box, it seems to be the only combo box that the Dcb_Change() event is loaded by selecting one of the items from the dropdown. The regular Combo box does not, it waits for the user to actually Type something in the field (which should be disabled because he should only have to choose from the list)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|