gc8 970 Posted February 29, 2020 Hi is it possible to change the color of selected listbox item? I tried these commands to no avail: _ctrl = _display displayCtrl 1502; // CT_LISTNBOX _ctrl ctrlSetActiveColor [1, 0, 0, 1]; _ctrl lbSetSelectColor [0, [0, 1, 0, 1]]; _ctrl lbSetColor [0, [0, 1, 0, 1]]; _ctrl ctrlSetForegroundColor [1, 0, 0, 1]; _ctrl ctrlSetTextColor [1, 0, 0, 1]; _ctrl lbSetSelectColorRight [0, [0, 1, 0, 1]]; thx! Share this post Link to post Share on other sites
gc8 970 Posted February 29, 2020 I can get the other select color working with class entry but not the second, it remains white text class EquipDlgList : RscListBox { colorSelect[] = // Doesn't work { 0, 0, 1, 1 }; colorSelect2[] = { 1, 0, 0, 1 }; }; Share this post Link to post Share on other sites