>How add two column's values into ComboBox?
>
>Code:
>AddItem("xxx", 1, 1)
>AddItem("yyy", 1, 2)
>
>gives me
>| |yyy|
>|xxx| |
>
>instead
>|xxx|yyy|
>
>Thanx in advance.
>
>Giedrius
Giedrius,
AddItem cannot add two columns, you need to use AddListItem to do that;
WITH THISFORM.MyList
lnNextItem = .NewItemId + 1
.AddListItem("ABC",lnNewItem,1)
.AddListItem("DEF",lnNewItem,2)
ENDWITH
Will give you [ABC] [DEF] as two columns.