HeaderPane
Main
Hide
Share Link
Print

OLEDropMode Property, SftButton Object

Defines OLE drop support.

Syntax

Get

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

Put

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

object

A SftButton object.

Mode

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

NameValueDescription
OLEDropSftButtonNone0The control is not a valid drop target.
OLEDropSftButtonManual1The 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 OLE drop support.

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

See Also SftButton Object | Object Hierarchy


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