HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

OLEDropMode Property, SftButton Object

Defines OLE drop support.

Syntax

Get

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

Put

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

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 08/23/2026 - (email)
© 2026 Softel vdm, Inc.