Hi how would be able to add items and colors to colorbox, using Borland C++ builder 6.0. info is stored in int *ps.
ps[0] - count of colors
ps[1]-ps[ps[0]] - codes of colors
in Color box would bet so see this info:
[Color] [number] [color code]
Printable View
Hi how would be able to add items and colors to colorbox, using Borland C++ builder 6.0. info is stored in int *ps.
ps[0] - count of colors
ps[1]-ps[ps[0]] - codes of colors
in Color box would bet so see this info:
[Color] [number] [color code]
ps[1+ps[0]++] = aNewColour;
not quite that I'am asking. in ComboBox TComboBox->Item->Add("AnsiString"); is to enter new line in combobox, how can I do the same in TColorBox also showing color that I want. TColorBox->Items->Add("AnsiString"); adds only item, I need color also.