WITH THISFORM.cboBroselow .AddItem("",.ListCount+1) .PICTURE(1) = "\arrest\red.bmp" .AddItem("",.ListCount+1) .PICTURE(2) = "\arrest\purple.bmp" .AddItem("",.ListCount+1) .PICTURE(3) = "\arrest\yellow.bmp" .AddItem("",.ListCount+1) .PICTURE(4) = "\arrest\white.bmp" .AddItem("",.ListCount+1) .PICTURE(5) = "\arrest\blue.bmp" .AddItem("",.ListCount+1) .PICTURE(6) = "\arrest\orange.bmp" .AddItem("",.ListCount+1) .PICTURE(7) = "\arrest\green.bmp" ENDWITHI am looking for a way to show the chosen item's color that matches the .bmp in the combobox displayvalue window. Right now I am doing the YELLOW color band as follows in the Interactive change event of the comobox I have the following code (I would being doing something similar for ListIndex 1 thru 7 for all 7 differing color bands):
IF THIS.ListIndex = 3 THIS.BackColor = RGB(255,255,0) THIS.DisabledBackColor = RGB(255,255,0) ENDIFI am thinking there must be a better way to take the .BMP color from the drop-down list and display it in the comboxbox displayvalue window than the way I am doing it in my above example. Let me know. Thanks so much.