Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabs.OLEDragMode Property

Defines OLE drag support.

Syntax

Get
VBMode = object.OLEDragMode As SftControlOLEDragModeConstants
Put
VBobject.OLEDragMode = Mode As SftControlOLEDragModeConstants

object

A SftTabs object.

Mode

Defines whether the control is used as an OLE drag & drop drag source.

ModeValueDescription
OLEDragSftControlNone0The control cannot act as a drag source.
OLEDragSftControlManual1The application calls the OLEDrag method to start an OLE drag & drop operation using this control as a drag source.

Comments

The OLEDragMode property defines OLE drag support.

Once an OLE drag & drop operation is started, the application receives the OLEStartDrag event, which is used to provide data to the DataObject.

If the OLEDragMode property is set to OLEDragSftControlManual, the application can start an OLE drag & drop operation in response to any suitable event.

The DragMode property which is automatically added to the control by Visual Basic also affects the handling of a drag & drop operation. For OLE drag & drop to be available, Visual Basic's DragMode property must be set to vbManual. Please see the Visual Basic documentation for information about the DragMode property and its drag & drop support.

Example

See Reorder Sample

See Also SftTabs Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.