Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBox.OLEDropMode Property

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

Syntax

Get

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.