Set color of checkbox text via script?

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
mmarks
Posts: 4
Joined: Fri Jan 15, 2016 2:39 am

Set color of checkbox text via script?

Post by mmarks »

Is there anyway to set the text color of a checkbox via script? I can't find anything in the documentation :(

Lars
Posts: 5
Joined: Wed Mar 09, 2016 3:53 am

Re: Set color of checkbox text via script?

Post 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

Post Reply