I'd like to change the skin of one or more Tabs of a TsTabcontrol component.
following i tried:
ownerdraw:=true;
procedure TForm1.sTabControl1DrawTab(Control: TCustomTabControl;
TabIndex: Integer; const Rect: TRect; Active: Boolean);
begin
control.canvas.Brush.color:=clred;
control.Canvas.FillRect(rect);
end;
this works fine BUT:
i do not like to use “normal” colors – i'd like to use “skined” colors!!
the problem i'll think is: …. control.canvas.Brush.color:= ????
can anyone help me please??
many thanks!!!
ps: my english is not the best – sorry.