RichText box control and Clipboard, cut, copy and paste 
Author Message
 RichText box control and Clipboard, cut, copy and paste

Has anyone try to implement Copy/Cut and Paste for a regular Rich Text Box
using Clipboard.GetText method with either RTF format or Text format?

The problem I am having is that when I used the Clipboard object to copy or
cut and paste a line of text with CR and LF, CR and LF are left un-copied.
But if I use the standard 'Copy/Cut/Paste' windows shortcut keys, it works
just fine. By examining the returned string from the GetText method, I do
see that CR/LF is in the regular string just as it should be.

Is there any workaround or any suggestion to copy/cut/paste?

Thanks.

Jeff



Sat, 07 Oct 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Cut, Paste, Copy from web page to clipboard

2. Cut, Copy Paste controls from browser

3. Function Cut, Copy and Paste in webbrowser control

4. Cut/Copy/Paste ShortCut menu for ListView control?

5. Cut and paste using richtext?

6. Cut and paste using richtext?

7. Mouse controlled cut/paste with Text Boxes in VBA

8. DBGrid & Clipboard Cut/Paste

9. Cut, Copy, Paste

10. How can I copy records like cut-n-paste

11. disabling cut/copy/paste

12. disabling copy/paste/cut on shape shortcut menu

 

 
Powered by phpBB® Forum Software