>I have a listbox on my form with the following properties:
>
>.RowSource = mcategor.desc
>.RowSourceType = 6
>.Picture = "listbox.bmp"
>
>
>In the Init of my form I am trying to set the picture value of some of the listbox items to a different image. But when the listbox is displayed, all items are shown with the same default picture.
>
>However, if I change the listbox properties to this:
>
>.RowSource = "One,Two,Three,Four,Five"
>.RowSourceType = 1
>.Picture = "listbox.bmp"
>
>
>and then do the same code in my Init, everything works fine and the items I wanted to show up with a different picture.
>
>Can someone tell me 1)Why the listbox won't let me update the image in the form's Init when the RowSourceType = 6 and 2)
Because the load of items is done when the list is painted.
If there is a workaround for this?
>
A simple workaround don't exists.
>Thanks tons for your help!