SftTree/OCX 7.0

SftTree.OLEDropMode Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Style = object.OLEDropMode  As SftTreeOLEDropModeConstants

VB

Style = object.OLEDropMode  As SftTreeOLEDropModeConstants

C#.NET

SftTreeOLEDropModeConstants Style = object.OLEDropMode;

VC++

enum SftTreeOLEDropModeConstants Style = object->OLEDropMode;
enum SftTreeOLEDropModeConstants Style = object->GetOLEDropMode();

C

HRESULT object->get_OLEDropMode(enum SftTreeOLEDropModeConstants* Style);

Delphi

Style := object.OLEDropMode  : TOleEnum;

Put

VB.NET

object.OLEDropMode = Style  As SftTreeOLEDropModeConstants

VB

object.OLEDropMode = Style  As SftTreeOLEDropModeConstants

C#.NET

SftTreeOLEDropModeConstants object.OLEDropMode = Style;

VC++

enum SftTreeOLEDropModeConstants object->OLEDropMode = Style;
void object->PutOLEDropMode(enum SftTreeOLEDropModeConstants Style);

C

HRESULT object->put_OLEDropMode(enum SftTreeOLEDropModeConstants Style);

Delphi

object.OLEDropMode := Style  : TOleEnum;

object

A SftTree object.

Style

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

Style

Value

Description

OLEDropSftTreeNone

0

The tree control is not a valid drop target.

OLEDropSftTreeManual

1

The tree 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 tree control can act as an OLE drop target.

The events OLEDragOver and OLEDragDrop occur when an item is dragged over the tree control or when an item is dropped.

See Also  SftTree Object | Object Hierarchy


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