Sign in to follow this  

[.net] RichTextBox Drag-Drop Text File

Recommended Posts

I tried to drag and drop text file from explorer to richTextBox. I have set the EnableAutoDragDrop property to True. Is it true that there is no DragEnter and DragDrop events in a richTextBox? I've looked at it but I could not found it. But it is strange, because when I tried to drag .h file, it only show the file icon NOT ITS CONTENT, then I try text file, and it was the same result. So did with JPEG files. Does richTextBox cannot handle drag-drop from explorer directly? So the text file must be opened first on wordPad and selecting the desired text to be dropped? How to make explorer drag-drop enabled? I only need to drag and drop plain text file. Thank you very much. [Edited by - chrisliando on February 18, 2008 10:10:51 PM]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this