Hi Mathew,
because first column is empty...
try this:
This.combo1.AddListItem("Car Rental",1,1)
This.combo1.picture(1) = "Car.bmp"
This.combo1.AddListItem("Hotel",2,1)
This.combo1.picture(2) = "Hotel.bmp"
This.combo1.AddListItem("Airport Service",3,1)
This.combo1.picture(3) = "Airplane.bmp"
MartinJ
>Hi Martin,
>
>>After add items to combo (from any source or additem()/addlistitem()) you >can set picture:
>
>>combobox.Picture(ListIndex)="your_picture"
>>MartinJ
>
>Thanks for the tips, but now when I select on of the item on the list. The combo box does not display the selected value (just blank). I added this code inside the Interactivechange event, but no luck. Any Ideas?
>
>Form1.Init()
>This.combo1.AddListItem("Car Rental",1,2)
>This.combo1.picture(1) = "Car.bmp"
>This.combo1.AddListItem("Hotel",2,2)
>This.combo1.picture(2) = "Hotel.bmp"
>This.combo1.AddListItem("Airport Service",3,2)
>This.combo1.picture(3) = "Airplane.bmp"
>
>
>Combo1.InteractiveChange()
>nIdx = This.ListIndex
>This.Value = This.List(nIdx,2)
>
>
>TIA