HeaderPane
Main
Hide
Share Link
Print

SftBox.OLEDropMode Property

Defines whether the control can act as an OLE drop target.

Syntax

Get

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

Put

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

object

A SftBox object.

Mode

Defines OLE drop support, determining whether the control can act as an OLE drop target.

ModeValueDescription
OLEDropSftBoxNone0The control is not a valid drop target.
OLEDropSftBoxManual1The control is a valid drop target and triggers the OLE drop events, allowing the application to handle the OLE drop operation.

Comments

The OLEDropMode property defines whether the control can act as an OLE drop target.

If the control is a valid drop target (OLEDropSftBoxManual), the events OLEDragOver and OLEDragDrop occur when an item is dragged over the control or when an item is dropped.

See Also SftBox Object | Object Hierarchy


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