VLButtonBar Reference

Read/Write Property OLEDropMode

See Also See Also Applies To Applies To

Returns or sets whether the component or the programmer handles an OLE Drop/drop operation.

 

Syntax

object.OLEDropMode[=mode]

 

The OLEDropMode property syntax has these parts:

Part Description
Object An object expression that evaluates to the objects in Applies to list.
mode An integer specifying the OLEDropMode of the objects in Applies to list, as described in Settings.

 

Settings

The settings for value are:

Constant Setting Description
ConstantOLEDropNone 0 (Default)None. The target component does not accept OLE drops and displays the No Drop cursor.
ConstantOLEDropManual 1 Manual. The programmer handles all OLE Drop/drop operations.
ConstantOLEDropAutomatic 2 Automatic. The component handles all OLE Drop/drop operations.