Help Center

OLEDragfunction

Returns or sets whether the control can act as an OLE drag source, either automatically or under program control.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION OLEDrag () AS HRESULT

Description

The OLEDrag method and OLEDragMode property enable the grid to act as a source for OLE drag-and-drop operations, allowing data to be dragged from the grid to other controls or applications

When using manual mode, you must explicitly call OLEDrag to start the process. This triggers the OLEStartDrag event, where you define what data is being dragged.

Reference