Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How t o Add Item to multicolumn COMBOBOX
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How t o Add Item to multicolumn COMBOBOX
Miscellaneous
Thread ID:
00146539
Message ID:
00146539
Views:
68
Hi,
I try to create ComboBox with 2 columns, but when I use the following code:

myCombo.AddItem("FirstCol Item",1)
myCombo.AddItem("SecondCol Item",2)
I have a combo with 2 elements, but 1 column.

I try this:
myCombo.AddItem("FirstCol Item",1,1)
myCombo.AddItem("SecondCol Item",1,2)
I have a combobox with 2 elements with 2 columns where "SecondCol Item" is in second column of first element and "FirstCol Item" is in first column of second element

I try this:
myCombo.AddItem("FirstCol Item",1,1)
myCombo.AddItem("SecondCol Item",2,2)
I have a combobox with 2 elements with 2 columns where "FirstCol Item" is in first column of first element and "SecondCol Item" is in second column of second element


What I must write to take a normal 2 columns combo box.

TIA

Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Next
Reply
Map
View

Click here to load this message in the networking platform