Page 1 of 1

Custom Styles

Posted: Wed Feb 08, 2023 8:46 am
by 16463038
In Delphi I can set Styles (ProjectOptions -> Application -> Appearance -> CustomStyles) .

For example if I set it to style "Amakrits" then the UI has a black theme, the TListboxes and Memo's background are black.

But the TChart background remains white.

Is there a way that TChart adapts its style automatically to the Delphi style?

If not, I can set the TChart colors manually. But how can I find which exact colors Delphi used in a certain style?

Re: Custom Styles

Posted: Mon Feb 13, 2023 10:56 am
by yeray
Hello,

You can assign the current style as follows:

Code: Select all

uses VCLTee.TeeThemes;

Code: Select all

TSystemTheme.ApplyStyle(Chart1);
Project1_2023-02-13_11-57-24.png
Project1_2023-02-13_11-57-24.png (22.48 KiB) Viewed 5285 times