HeaderPane
Main
Hide
Share Link
Print

OLEDropMode Property, SftCalendar Object

Defines OLE drop support.

Syntax

Get

C#SftControlOLEDropModeConstants Mode = object.OLEDropMode;
VB.NETMode = object.OLEDropMode As SftControlOLEDropModeConstants
C++enum SftControlOLEDropModeConstants Mode = object->OLEDropMode;
enum SftControlOLEDropModeConstants Mode = object->GetOLEDropMode();
CHRESULT object->get_OLEDropMode(enum SftControlOLEDropModeConstants* Mode);

Put

C#SftControlOLEDropModeConstants object.OLEDropMode = Mode;
VB.NETobject.OLEDropMode = Mode As SftControlOLEDropModeConstants
C++enum SftControlOLEDropModeConstants object->OLEDropMode = Mode;
void object->PutOLEDropMode(enum SftControlOLEDropModeConstants Mode);
CHRESULT object->put_OLEDropMode(enum SftControlOLEDropModeConstants Mode);

object

A SftCalendar object.

Mode

Defines OLE drop support.

NameValueDescription
OLEDropSftControlNone0None
OLEDropSftControlManual1Manual
OLEDropSftControlAutomatic2Automatic

Comments

The OLEDropMode property defines whether the control can act as an OLE drop target. The default is OLEDropSftControlNone. p With OLEDropSftControlManual, the OLEDragOver and OLEDragDrop events occur when data is dragged over the control or dropped on it, and the application decides what to do with the data. p OLEDropSftControlAutomatic is not supported and causes an error.

See Also SftCalendar Object | Object Hierarchy


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