ComponentOne List 8.0 for ActiveX
OLEDragMode Property

 

OLEDragMode Property

This property returns or sets a value that indicates whether the combo or the programmer handles an OLE drag/drop operation.

Syntax

TDBCombo.OLEDragMode= value

Remarks

Read/Write at run time and design time.

Property applies to TDBCombo control.

Values

Design Time

Run Time

0 - Manual (default)

dbcOLEDragManual

1 - Automatic

dbcOLEDragAutomatic

When OLEDragMode is set to the default value of 0 - Manual, you must call the OLEDrag method to start dragging, which then triggers the OLEStartDrag event.

When OLEDragMode is set to 1 - Automatic, the combo fills the DataObject parameter with data and sets the Effects parameter before initiating the OLEStartDrag event (as well as the OLESetData and other source-level OLE drag/drop events) when the user attempts to drag out of the combo.

See Also

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback