Page 1 of 1

how to Not allowed to drag the text, do not set readonly.

Posted: Wed Sep 09, 2015 8:39 am
by bsanlang
Hello:
how to Not allowed to drag the text, do not set readonly.

Posted: Wed Sep 09, 2015 11:07 am
by Sergey Tkachenko
Disabling dragging from TRichView: include rvoDisallowDrag in Options.
Note that ReadOnly state does not prevent dragging from TRichViewEdit. You can even drag from a completely uneditable TRichView

Disabling dragging to TRichViewEdit: exclude everything from AcceptDragDropFormats.