I need a combobox with different colored items.
At the moment I use bitmaps to show the color. But depending on the font this could become bad looking.
Has someone an idea.
Best regards,
Otto

At the moment I use bitmaps to show the color. But depending on the font this could become bad looking.
Has someone an idea.
Best regards,
Otto

oCbxFixBuchung := TComboBox():ReDefine(2050, { | u | If( PCount()==0, cItemFixBuchung, cItemFixBuchung:= u ) }, aCOMBO,,,;
{|| ( nOption := cbxSaBu(oCbxFixBuchung:nAt) ,.T.)},{|Self|( nOption := cbxSaBu(oCbxFixBuchung:nAt) )},,,, .F.,, { (Setup():Daten() + "bmpsNet\booking"+"1.bmp"), (Setup():Daten() + "bmpsNet\booking"+"2.bmp"), (Setup():Daten() + "bmpsNet\booking"+"3.bmp"), (Setup():Daten() + "bmpsNet\booking"+"4.bmp"), (Setup():Daten() + "bmpsNet\booking"+"5.bmp"), (Setup():Daten() + "bmpsNet\booking"+"10.bmp"), (Setup():Daten() + "bmpsNet\booking"+"12.bmp"), (Setup():Daten() + "bmpsNet\booking"+"13.bmp"), (Setup():Daten() + "bmpsNet\booking"+"14.bmp"), (Setup():Daten() + "bmpsNet\booking"+"15.bmp"), (Setup():Daten() + "bmpsNet\booking"+"16.bmp"), (Setup():Daten() + "bmpsNet\booking"+"17.bmp"), (Setup():Daten() + "bmpsNet\booking"+"18.bmp"), (Setup():Daten() + "bmpsNet\booking"+"19.bmp"), ( Setup():Daten() + "bmpsNet\booking"+"20.bmp") },,,, )