I'm using a skin for my application controlled by TdxSkinController, but I want to set a different color/texture for the background of the TileControl which is part of the skinned form.
I can't exclude the TileControl from being skinned using the TdxSkinController.OnSkinControl event, because it's not an supported component.
Accessing the skin elements in the following way doesn't work either:
Delphiif RootLookAndFeel.Painter.GetPainterData(APainterInfo) then
begin
ASkin := APainterInfo.Skin;
if ASkin.GetGroupByName('TileControl', AGroup) then
begin
if AGroup.GetElementByName('Background', AElement) then
begin
AElement.Color := clWindowText;
end;
end;
end;
Is there a way to accomplish this without modifying the skin?