SftBox/OCX 4.5

SftBox.OLEDropMode Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Mode = object.OLEDropMode  As SftBoxOLEDropModeConstants

VB

Mode = object.OLEDropMode  As SftBoxOLEDropModeConstants

C#.NET

SftBoxOLEDropModeConstants Mode = object.OLEDropMode;

VC++

enum SftBoxOLEDropModeConstants Mode = object->OLEDropMode;
enum SftBoxOLEDropModeConstants Mode = object->GetOLEDropMode();

C

HRESULT object->get_OLEDropMode(enum SftBoxOLEDropModeConstants* Mode);

Delphi

Mode := object.OLEDropMode  : TOleEnum;

Put

VB.NET

object.OLEDropMode = Mode  As SftBoxOLEDropModeConstants

VB

object.OLEDropMode = Mode  As SftBoxOLEDropModeConstants

C#.NET

SftBoxOLEDropModeConstants object.OLEDropMode = Mode;

VC++

enum SftBoxOLEDropModeConstants object->OLEDropMode = Mode;
void object->PutOLEDropMode(enum SftBoxOLEDropModeConstants Mode);

C

HRESULT object->put_OLEDropMode(enum SftBoxOLEDropModeConstants Mode);

Delphi

object.OLEDropMode := Mode  : TOleEnum;

object

A SftBox object.

Mode

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

Mode

Value

Description

OLEDropSftBoxNone

0

The control is not a valid drop target.

OLEDropSftBoxManual

1

The 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.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com