It would appear that the AdvTreeView does not (yet) fully support VCL Themes. Turning AdaptToStyle on helps with the basic background but none of the Font colors are set to match the VCL Theme. I have got a reasonable approximation of the VCL Theme with these settings:
with AdvTreeView1.NodesAppearance do
begin
Font.Color := StyleServices.GetStyleFontColor(sfTreeItemTextNormal);
DisabledFontColor := StyleServices.GetStyleFontColor(sfTreeItemTextDisabled);
SelectedFontColor := StyleServices.GetStyleFontColor(sfTreeItemTextSelected);
ExtendedFill.Color := StyleServices.GetStyleColor(scGenericGradientBase);
ExtendedFill.ColorTo := StyleServices.GetStyleColor(scGenericGradientEnd);
ExtendedFill.Kind := gfkGradient;
ExtendedFontColor := StyleServices.GetStyleFontColor(sfPanelTextNormal);
end;
However it is still far from perfect. So....
- Are there any plans to improve the VCL Theme support in AdvTreeView?
- Are there any tricks or better methods to improve the appearance of the AdvTreeView when using VCL Themes?