Share via


OLEDrag Method

Starts an OLE drag-and-drop operation.

PROCEDURE Object.OLEDragLPARAMETERS lDetectDrag

Parameters

  • lDetectDrag
    Specifies when the OLEStartDrag event is executed. If lDetectDrag is false (.F.), the OLEStartDrag event is immediately executed. If lDetectDrag is true (.T.), the OLEStartDrag event is executed after the user has pressed the mouse button for a sufficient period of time to indicate that a drag operation is occurring, or the mouse is moved a sufficient distance while the mouse button is pressed, again indicating that a drag operation is occurring.

    If you don't specify a value for lDetectDrag, true (.T.) is automatically returned.

Remarks

OLEDrag is a drag source method.

See Also

OLE Drag-and-Drop Overview | OLEDragMode Property | OLEStartDrag Event

Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OptionButton | OptionGroup | Page | PageFrame | Shape | Spinner | TextBox | ToolBar