Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Inline Editing of text in Shape (Read 1159 times)
dev
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Sep 28th, 2010
Inline Editing of text in Shape
Feb 1st, 2011 at 3:54pm
Print Post  
I am using the Diagram's BeginEdit method. This Creates a textbox just in place of the node. But the Font and backgound are different from the node. Also i need to wireup event keyup of textbox so that i EndEdit on "Enter" key press. So how can i achieve this.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Inline Editing of text in Shape
Reply #1 - Feb 1st, 2011 at 4:17pm
Print Post  
Handle the EnterInplaceEditMode event to set up the textbox, and set the InplaceEditAcceptOnEnter property to make Enter end editing.

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