Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic read only ShapeNode (Read 1363 times)
Shiju
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 7
Joined: Jun 29th, 2012
read only ShapeNode
Aug 10th, 2012 at 6:28am
Print Post  
Hi,
      How do i make a ShapeNode readonly, so that user should not be able to edit the text inside the node?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: read only ShapeNode
Reply #1 - Aug 10th, 2012 at 7:12am
Print Post  
Hi,

Set AllowInplaceEdit = false, and call Diagram.BeginEdit(node) only for nodes that allow editing, e.g. from NodeDoubleClicked handler.

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