Ok, I have a slight issue and for some reason I am not able to resolve it. I have a parent form with a drag and drop event to open files dragged from explorer into a new child form, it works fine. I also have children forms with a rich text box (txtMain) filling the entire form. I took the very same code from the main form and just put it into the drag and drop events for txtMain. It works as well, the new child form is opened and its txtMain is filled with the information from the text file. It works fine, with one exception, it leaves a boxed link with the text "Text File" in the txtMain into which the file was originally dragged. How can I prevent it from doing this while still doing every thing else?
This problem only happens in 2.0 and not 1.1. I'm guessing the rich text box control was altered a bit.
They used AI based TOOLS to convert the JavaScript engine (the main rendering engine is still C++) and it was not fully automated but was human reviewed. Other subsystems will be looked into to also be converted to Rust in the future. I have no problem with any of that.
No we just do it manually, our contact methods are calls, chats and e-mails. Whoever is doing the e-mail task for the day, deals with the e-mail, logs the appropriate ticket, adds the reference to the source e-mail and then files it in the appropriate folder.
At least that's how it's supposed to work
Question
Veedems Veteran
Ok, I have a slight issue and for some reason I am not able to resolve it. I have a parent form with a drag and drop event to open files dragged from explorer into a new child form, it works fine. I also have children forms with a rich text box (txtMain) filling the entire form. I took the very same code from the main form and just put it into the drag and drop events for txtMain. It works as well, the new child form is opened and its txtMain is filled with the information from the text file. It works fine, with one exception, it leaves a boxed link with the text "Text File" in the txtMain into which the file was originally dragged. How can I prevent it from doing this while still doing every thing else?
This problem only happens in 2.0 and not 1.1. I'm guessing the rich text box control was altered a bit.
Link to comment
https://www.neowin.net/forum/topic/240248-vb-net-20richtextbox-drag-drop-from-explorer/Share on other sites
21 answers to this question
Recommended Posts