OLEDropMode Property
This property returns or sets a value that indicates how the combo handles drop operations.
TDBCombo.OLEDropMode= value
Read/Write at run time and design time.
Property applies to TDBCombo control.
Values
Design Time |
Run Time |
0 - None (default) |
dbgOLEDropNone |
1 - Manual |
dbgOLEDropManual |
2 - Automatic |
dbgOLEDropAutomatic |
When OLEDropMode is set to the default value of 0 - None, the combo does not accept OLE drops and displays the No Drop cursor.
When OLEDropMode is set to 1 - Manual, the combo triggers the OLE drop events, allowing the programmer to handle the OLE drop operation in code.
When OLEDropMode is set to 2 - Automatic, the combo automatically accepts OLE drops if the DataObject contains data in a format it recognizes. No mouse or OLE drag/drop events on the combo will occur when OLEDropMode is set to 2 - Automatic.
Note: Currently, the only data format recognized by the combo is text.
See Also