rvico TRichView Reference | TRichViewEdit

TRichViewEdit.OnOleDragLeave

Top  Previous  Next

OLE drag&drop event. It occurs when the user drags the mouse cursor out of the editor or cancels the current drag&drop operation.

property OnOleDragLeave: TNotifyEvent;

(introduced in version 10)

This is a low level event. Do not use it if you are not familiar with OLE drag&drop.

The first event in sequence is OnOleDragEnter, it occurs when the user moves the mouse pointer into the editor while dragging. After that, OnOleDragOver is called while the user moves the mouse inside the editor. Dragging is finished either by calling OnOleDrop (successfully) or by calling this event.

Input Parameters:

DataObject – dragged data (IDataObject is declared in ActiveX unit).

Shift – keyboard state.

PossibleDropEffects – a list of allowed operations, set of rvdeCopy, rvdeMove, rvdeLink.

DropEffect – operation that the editor would choose by default.

 

Output Parameters:

DropEffect – operation that you want to perform with the dragged data (one of PossibleDropEffects, or rvdeNone if you do not want to accept it).

 

See also events:

OnOleDragEnter;

OnOleDragOver;

OnOleDrop.

See also:

Drag&drop in TRichView.


TRichView © trichview.com