3

I am trying to change color of text of radio buttons in the License Agreement page in WizardForm. I changed the background to black and want the texts white.

Here is my code:

WizardForm.LicenseAcceptedRadio.Font.Color := clWhite; 
WizardForm.LicenseNotAcceptedRadio.Font.Color := clWhite; 

Thanks

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Diego_cze
  • 59
  • 8

1 Answers1

4

It is not possible to do it unless you subclass that control. Radio button appearance is controlled by the Windows theme.

One alternative is to create a radio button with no caption and use a label together with it. In that way you can modify the colors of the label.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Miguel Febres
  • 2,153
  • 2
  • 21
  • 31