HeaderPane
Main
Hide
Share Link
Print

OLEStartDrag Event, SftDate Object

Source object is starting an OLE drag & drop operation.

Syntax

C#void object_OLEStartDrag(object sender, AxSftDateLib20._ISftDateEvents_OLEStartDragEvent e);
VB.NETPrivate Sub object_OLEStartDrag(ByVal sender As Object, ByVal e As AxSftDateLib20._ISftDateEvents_OLEStartDragEvent) Handles object.OLEStartDrag
C++void OnOLEStartDragobject(DataObject** Data, long* AllowedEffects);
CHRESULT OnOLEStartDragobject(DataObject** Data, long* AllowedEffects);

object

A SftDate object.

Data

A DataObject object to which the application adds the data formats, and possibly the data, it provides.

AllowedEffects

Set by the application to the effects it supports, a combination of vbDropEffectCopy (1) and vbDropEffectMove (2).

Comments

The OLEStartDrag event occurs when the application starts an OLE drag & drop operation using the OLEDrag method. p The application adds the data formats it provides, using SetData. It may defer placing the data itself until the target requests it, in the OLESetData event. If no formats are added or AllowedEffects is not set to vbDropEffectCopy or vbDropEffectMove, the drag & drop operation is cancelled.

See Also SftDate Object | Object Hierarchy


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.