I'm trying to get a ComboBox control to display an image for each individual item, but I can't get the Picture[x] property to work.
The documentation says that you can use combo.Picture[1] etc. to set individual pictures but when I do those assignments it doesn't work. I CAN set the Picture property without an index and that works fine but with individual images it's not working.
At first I thought that maybe this is due to timing with databinding but even after moving the code into the DropDown() event it still doesn't work.
FOR lnX = this.ListCount TO 1 STEP -1
lcImg = thisform.oHelp.cProjPath + "bmp\" + TRIM(this.ListItem(lnX)) + ".gif"
IF FILE(lcImg)
this.Picture(lnX) = lcImg
ENDIF
ENDFOR
The image assignments fire but the images don't show.
Any ideas what I'm missing here?