Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Is there TextNode ? (Read 1064 times)
CanadaProgrammer
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 113
Joined: Jun 30th, 2011
Is there TextNode ?
Jul 5th, 2011 at 6:58am
Print Post  
I want to put a shape to allow user input text. I tried to use ControlNode (Control type is RichText)but it is not good enough. When I changed the size of ContorlNode it is really ugly. Is there any good way to reach my goal?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Is there TextNode ?
Reply #1 - Jul 5th, 2011 at 7:06am
Print Post  
The user can enter text by double-clicking a ShapeNode when AllowInplaceEdit is enabled. You might also call DiagramView.BeginEdit from the NodeClicked handler to start editing with a single click.

If you handle the CreateEditControl event, you will be able to replace the standard textbox used for editing with your own control. This is shown in the InteractiveTable sample project.

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