@Werner, thank you for the code. The loop works fine.
Unfortunately (in my case) it does "the same" as this:
PageControl_Main.Font.Color:=AColor;
What I have at the moment are these lines
For i:=0 to PageControl_Main.PageCount - 1 do
PageControl_Main.Pages[i].Color:=DarkRedColor;
PageControl_Main.Font.Color:=DarkRedColor;
Those lines color the TFrames and TSpeedButtons nicely (see screenshot with the Button).
My problem are (see screenshot as well):
RadioBoxes and Checkboxes.
I attach you a screenshot with the radiobox:
The font stay black and are hardly readably.
Do I set the background to a brighter color, then the label stays darkRed with black fonts,
- hardly readably.
I want the red style and white fonts, like the lines, which "jump" to white.
So the screenshot shows you:
One "wanted" speedbutton and two "not wanted" RadioBoxes