It looks like you're new here. If you want to get involved, click one of these buttons!
I have two questions:
1) I want to test if what is being dragged into LMDRichEdit is text and then process the text (remove line returns and add quotation marks). I'm not sure which event to use with the LMDRichEdit control and how to test that what is dragged is text and then how to process (access) the text.
2) Is there a LMD component that gives me access to the clipboard? I want what I copy from another program (this other program has the focus) to automatically be pasted into a program with LMDRichEdit that doesn't have the focus (and as above I want to process the text before it is automatically pasted into the LMDRichEdit).
Could some one give me a lead on how to do these two things?
Thanks!
Comments
Thank you. I will investigate Editor.CopyToStream.
Regarding number 1: I am not talking about dropping a file but a snippet of text from another source (say a web page--by selecting some text and dragging and dropping it on a program with LMDRichEdit). How do I access that text before dropping it?