Does anyone know how to remove a certain color from the drop-down list of TColorBox?

The prefilled ones you can delete from the Items collection. For example:
procedure TForm31.Button1Click(Sender: TObject);
var
Index: Integer;
begin
Index := ColorBox1.Items.IndexOfObject(TObject(clGreen));
if Index <> -1 then
ColorBox1.Items.Delete(Index);
end;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With