[Demo][ScaleRichView] How to drag text from grid to editor

Demos, code samples. Only questions related to the existing topics are allowed here.
Post Reply
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

[Demo][ScaleRichView] How to drag text from grid to editor

Post by Sergey Tkachenko »

These demos show how to drag text from the selected cell of TStringGrid to TSRichViewEdit.

https://www.trichview.com/support/files ... dtosrv.zip

The ZIP contains two versions of the demo:

1) Using VCL drag&drop
2) Using system (OLE) drag&drop. This version uses additional components: Drag and Drop Component Suite

See also for VCL drag&drop:
(for TRichView): demo in TRichView\Demos\DelphiUnicode\Assorted\Graphics\DragImg
(for ScaleRichView): demo in ScaleRichView\Demos\RVDemos\Assorted\Graphics\DragImg

See also for OLE drag&drop:
http://www.trichview.com/forums/viewtop ... f=3&t=3407 (dragging URLS from treeview to TRichViewEdit)

[+] History of updates
2018-May-2: Code clean-up. Compatibility with old versions of Delphi.
Post Reply