>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
Hi, Boris
Try this:
myCombo.AddItem("FirstCol Item",1,1)
myCombo.<b>AddListItem</b>("SecondCol Item",1,2)
Regards
Danijel