Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Clipboard functions while inplace editing (Read 2036 times)
ampersand
Junior Member
**
Offline



Posts: 55
Joined: Sep 21st, 2006
Clipboard functions while inplace editing
Oct 28th, 2006 at 8:03am
Print Post  
Is it possible to let the user copy text of a Box to the clipboard?

The Box is in InplaceEditMode and the user selects only part of the text with the mouse or keyboard. Only the selected text should be used for clipboard functions. But I couldn't find a function for selected text in a Box.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Clipboard functions while inplace editing
Reply #1 - Oct 30th, 2006 at 6:24am
Print Post  
Hi,

You could handle the EnterInplaceEditMode event and save the TextBox parameter into a field of your class. Then use the TextBox methods to copy or cut the selected text.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
ampersand
Junior Member
**
Offline



Posts: 55
Joined: Sep 21st, 2006
Re: Clipboard functions while inplace editing
Reply #2 - Oct 30th, 2006 at 9:16am
Print Post  
Yeah, that's it.

Thanks
Dirk
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint