Hi,
I'm sorry but I do not fully understand your problem.
Anyway there is some usefull information which should help you to use my Tab or Page Control.
Both are derived from standard components, so use also RAD help to find how to use it.
E.g. images are defined by ImageList, for TabControl image index is defined by TabIndex, for PageControl image is defined by ImageIndex of each page object.
See my rComponentsDemo project and f_tabcontrolex unit for example of usage.
There are also many events which can be used set colors and close button visibility for each tab/page separatelly.
See my demo:
procedure TTabControlExForm.rTabControlEx5TabPropsExTabGetProps(Sender: TObject; TabIndex: Integer; Font: TFont; var BkColor: TColor; var CanClose: Boolean);
begin
CanClose:=TabIndex > 0;
end;
Any TabStyle with values tsRounded or tsModern do not exist. You can use some 3rd style if you like.
I hope it helps.
Tomas