SftDirectory 2.5

SftDirectory.OLEDropMode Property

Softel vdm, Inc.

Defines OLE drop support.

Syntax       

Get

VB.NET

Mode = object.OLEDropMode  As SftControlOLEDropModeConstants

VB

Mode = object.OLEDropMode  As SftControlOLEDropModeConstants

C#.NET

SftControlOLEDropModeConstants Mode = object.OLEDropMode;

VC++

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

C

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

Delphi

Mode := object.OLEDropMode  : TOleEnum;

Put

VB.NET

object.OLEDropMode = Mode  As SftControlOLEDropModeConstants

VB

object.OLEDropMode = Mode  As SftControlOLEDropModeConstants

C#.NET

SftControlOLEDropModeConstants object.OLEDropMode = Mode;

VC++

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

C

HRESULT object->put_OLEDropMode(enum SftControlOLEDropModeConstants Mode);

Delphi

object.OLEDropMode := Mode  : TOleEnum;

object

A SftDirectory object.

Mode

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

Mode

Value

Description

OLEDropSftControlNone

0

The control is not a valid drop target.

OLEDropSftControlManual

1

The control is a valid drop target and triggers the OLE drop events, allowing the application to handle the OLE drop operation.

OLEDropSftControlAutomatic

2

The control is a valid drop target and automatically accepts the data dropped on the control.

Comments

The OLEDropMode property defines OLE drop support.

If the control is a valid drop target (OLEDropSftControlManual), 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
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com