SftMask/OCX 6.5

SftMask.OLEDropMode Property

Softel vdm, Inc.

Defines OLE drop support.

Syntax       

Get

VB.NET

Mode = object.OLEDropMode  As SftMaskOLEDropModeConstants

VB

Mode = object.OLEDropMode  As SftMaskOLEDropModeConstants

C#.NET

SftMaskOLEDropModeConstants Mode = object.OLEDropMode;

VC++

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

C

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

Delphi

Mode := object.OLEDropMode  : TOleEnum;

Put

VB.NET

object.OLEDropMode = Mode  As SftMaskOLEDropModeConstants

VB

object.OLEDropMode = Mode  As SftMaskOLEDropModeConstants

C#.NET

SftMaskOLEDropModeConstants object.OLEDropMode = Mode;

VC++

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

C

HRESULT object->put_OLEDropMode(enum SftMaskOLEDropModeConstants Mode);

Delphi

object.OLEDropMode := Mode  : TOleEnum;

object

A SftMask object.

Mode

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

Mode

Value

Description

OLEDropSftMaskNone 

0

The control is not a valid drop target.

OLEDropSftMaskManual 

1

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

OLEDropSftMaskAutomatic 

2

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

Comments

The OLEDropMode property defines OLE drop support.

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