Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Change node color in runtime (Read 906 times)
mohamed
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Jul 17th, 2018
Change node color in runtime
Jul 17th, 2018 at 4:38pm
Print Post  
Hello sir

i need to change the color of node using JavaScript depend on what the user choose in run time
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 2255
Joined: Oct 19th, 2005
Re: Change node color in runtime
Reply #1 - Jul 17th, 2018 at 5:35pm
Print Post  
Hi,

Call node.setBrush(colorName);

Regards,
Slavcho
  
Back to top
 
IP Logged
 
mohamed
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Jul 17th, 2018
Re: Change node color in runtime
Reply #2 - Jul 18th, 2018 at 10:05am
Print Post  
it's Working thank you Grin
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint