Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How can I set TableNode's CaptionColor? (Read 1610 times)
wangzh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Apr 25th, 2009
How can I set TableNode's CaptionColor?
Apr 27th, 2009 at 7:39am
Print Post  
I using the net diagram in JavaApplet mode. I want to set TableNode CaptionColor Properties in JavaScript on the client-side.
I'm found the TableNode.setCaptionColor method need an Color parameter,But i donot know how create an Color object?
Can you give me an example?
thanks!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How can I set TableNode's CaptionColor?
Reply #1 - Apr 27th, 2009 at 9:06am
Print Post  
You could call ScriptHelper.createSolidBrush(...).getColor().

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint