ComponentOne VSFlexGrid 8.0
OLEDropMode Property

Returns or sets whether the control can act as an OLE drop target, either automatically or under program control.

Syntax

[form!]VSFlexGrid.OLEDropMode[ = OLEDropModeSettings ]

Remarks

The effect of the settings for the OleDropMode property are described below:

 

Constant

Value

Description

flexOleDropNone 

0

The control does not accept OLE drops and displays the No Drop cursor.

flexOleDropManual

1

The target component triggers the OLE drop events, allowing the programmer to handle the OLE drop operation in code.

flexOleDropAutomatic

2

The control automatically accepts OLE drops if the DataObject object contains data in string or file formats.

 

For an example of implementing OLE drag and drop with the VSFlexGrid control, see the OLE Drag and Drop Demo.

Data Type

OLEDropModeSettings (Enumeration)

Default Value

flexOLEDropNone (0)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback