>Hi Everybody,
>
>I have a combo box with the following init()
>>FOR my_Counter = 1 TO 21
> ThisForm.Combo3.AddlistItem(ALLT(STR(my_Counter)))
> thisform.Combo3.Picture[my_Counter] = "c:\img\Style" + ALLT(STR(my_Counter)) + ".bmp"
>ENDFOR
>
>I can only see the picture when the combo box list is open. When it is not, it only shows me a number. How do I force it to show the picture all the time. (like when I am going up and down by Up and Dn arrow keys.
>
>Thank you,
>AliDon't use a VFP6 combo for this (very old version, time to upgrade don't you think?). Use ImageCombo ActiveX Control (MSComCtl.ocx). Works fine with VFP and allows you to put pictures in all (or some) of the combo lines (records). I use it for example to display country flags for a Pick a Country combo.
This very same example is in the book Megafox by Marcia Akins, Andy Kramek and Rick Schummer (page 259), from Hentzenwerke.