Change button color via scripting

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
fsturlese
Posts: 36
Joined: Tue Nov 22, 2011 11:57 am

Change button color via scripting

Post by fsturlese »

Hello, is there any way to dynamically change the fill color of a button via scripting? The target is a T7A panel.
Thanks,
Federico

standeven
Posts: 5
Joined: Fri Dec 12, 2014 1:24 pm

Re: Change button color via scripting

Post by standeven »

ButtonName.Fill = Color.ColorName;

For example:

Button1.Fill = Color.Red;

would then make Button1 Red.

Post Reply