This works but when I click on the list, all the pictures change to the default picture. As long as I don't click on the list, each item can have a different picture.
What am I doing wrong?
Mylistbox.Rowsource = "mycursor.field"
Mylistbox.Rowsourcetype = 2
IF condition
THISFORM.Mylistbox.Picture[n] ='IMAGES\image1.BMP'
ELSE
THISFORM.Mylistbox.Picture[n] ='IMAGES\image2.BMP'
ENDIF
Thanks,
Jerryt
>
>Yes, you can do that
>
>oListBox.Picture = 'MyBmp.Bmp'
>oListBox.Picture[nIndex] = 'MyBmp1.Bmp'
>oListBox.Picture[nIndex] = 'Blank.Bmp'
>
>
>Hth