Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Change button color via scripting
PostPosted: Tue Sep 16, 2014 5:19 am 

Joined: Tue Nov 22, 2011 11:57 am
Posts: 32

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


 Profile  
 
 Post subject: Re: Change button color via scripting
PostPosted: Mon Dec 22, 2014 5:24 pm 

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

Offline
ButtonName.Fill = Color.ColorName;

For example:

Button1.Fill = Color.Red;

would then make Button1 Red.


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: