Page 1 of 1

Set color of checkbox text via script?

Posted: Mon Jun 13, 2016 6:18 am
by mmarks
Is there anyway to set the text color of a checkbox via script? I can't find anything in the documentation :(

Re: Set color of checkbox text via script?

Posted: Fri Jun 17, 2016 7:01 am
by Lars
If you have a checkbox named CheckBox perhaps these examples of lines would help you?

CheckBox.FontColor = System.Drawing.Color.Cornsilk;

CheckBox.FontColor = System.Drawing.Color.FromArgb(100,50,45); // Red, Green,Blue