VCLSkin work with other Component
There two way to make VCLSkin
support other component , you can apply skin color theme
in component color property or paint bakground color
with skin color theme.
Apply Skin color theme in component color property.
Most componet can be skinned by this method. example
code as follow:
procedure TForm1.SkinData1SkinChanged(Sender:
TObject);
begin
//apply skin color in color property
menutoolbar.color := skindata1.colors[csButtonFace];
maintoolbar.color := skindata1.colors[csButtonFace];
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
//set skin color
if SkinData1.active then SkinData1SkinChanged(sender);
end;
|
you can get demo for Toolbar2000 in demo package called
"toolbar2k" .
|