|Top Previous Next|
Occurs when dropping files in the editor (as a result of drag&drop operation, for example from Windows Explorer), or when pasting data in this format.
TRVDropFileEvent = procedure(Sender: TCustomRichViewEdit;
property OnDropFile: TRVDropFileEvent;
(introduced in v17)
In this event, you can insert content of this file in the caret position.
FilesName – a name of file to insert.
DoDefault = True.
DoDefault – set it to False if you have processed the file yourself in this event. If not, RichViewEdit will try to insert it as a graphic, RTF, RVF, plain text.
TRichView © trichview.com