Search found 2 matches

by JStephenson
Mon Dec 14, 2015 3:05 pm
Forum: Scripting
Topic: using System.Drawing.COlor for hex color values
Replies: 1
Views: 7341

using System.Drawing.COlor for hex color values

Im tring to set the Fill color of a button in a script, and in the page script I added: System.Drawing.Color projectBlue = System.Drawing.ColorTranslator.FromHtml("#2D6BB7"); void myButton_Click(System.Object sender, System.EventArgs e) { myButton.Fill = Color.projectBlue; } I get errors about the t...
by JStephenson
Mon Dec 14, 2015 2:31 pm
Forum: Scripting
Topic: Changing a button's color via script
Replies: 3
Views: 12217

Re: Changing a button's color via script

Has a solution to this problem been implemented since 2012? Im running into this issue as well, and really need to keep the non standard button styling while maintaining the ability to change background color. Is there a better simple way to change a button's background color when pressed? I just ne...