Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Edit text on diagramnode (Read 1473 times)
dmz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: May 28th, 2010
Edit text on diagramnode
May 28th, 2010 at 8:19am
Print Post  
Hi.

I'm new so sorry if the question is quite stupid.


I have created a diagram of diagramnodes containing different shapes.

Can I edit the text on one of the nodes. I can't find the way to do this. I have tried to do it from the node itself and from the diagram but I can't find a way.

Something like this...

DiagramNode Item ...
Item.shapeText/Text???


  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Edit text on diagramnode
Reply #1 - May 28th, 2010 at 9:05am
Print Post  
Hi,

If you need a way to do that interactively, enable AllowInplaceEdit and double click, or call DiagramView.BeginEdit in response to some event handler.

To do that from code, you'll need to type-cast to ShapeNode and set ShapeNode.Text.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
dmz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: May 28th, 2010
Re: Edit text on diagramnode
Reply #2 - May 28th, 2010 at 10:21am
Print Post  
Thanks a lot.. It works perfectly..
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint