HeaderPane
Main
Hide
Share Link
Print

OLEDragMode Property, SftDate Object

Defines OLE drag support.

Syntax

Get

C#SftControlOLEDragModeConstants Mode = object.OLEDragMode;
VB.NETMode = object.OLEDragMode As SftControlOLEDragModeConstants
C++enum SftControlOLEDragModeConstants Mode = object->OLEDragMode;
enum SftControlOLEDragModeConstants Mode = object->GetOLEDragMode();
CHRESULT object->get_OLEDragMode(enum SftControlOLEDragModeConstants* Mode);

Put

C#SftControlOLEDragModeConstants object.OLEDragMode = Mode;
VB.NETobject.OLEDragMode = Mode As SftControlOLEDragModeConstants
C++enum SftControlOLEDragModeConstants object->OLEDragMode = Mode;
void object->PutOLEDragMode(enum SftControlOLEDragModeConstants Mode);
CHRESULT object->put_OLEDragMode(enum SftControlOLEDragModeConstants Mode);

object

A SftDate object.

Mode

Defines OLE drag support.

NameValueDescription
OLEDragSftControlNone0None
OLEDragSftControlManual1Manual
OLEDragSftControlAutomatic2Automatic

Comments

The OLEDragMode property defines whether the control can act as an OLE drag source. The default is OLEDragSftControlNone. p With OLEDragSftControlManual, the application starts an OLE drag & drop operation itself by calling the OLEDrag method, for example in the MouseDown event. The control then raises the OLEStartDrag event, which is used to provide data to the DataObject. p OLEDragSftControlAutomatic is not supported and causes an error.

See Also SftDate Object | Object Hierarchy


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