SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines OLE drag support.
Get | |||
VB | Mode = object.OLEDragMode As SftControlOLEDragModeConstants | ||
Put | |||
VB | object.OLEDragMode = Mode As SftControlOLEDragModeConstants |
object
Mode
Defines whether the control is used as an OLE drag & drop drag source.
Mode | Value | Description |
---|---|---|
OLEDragSftControlNone | 0 | The control cannot act as a drag source. |
OLEDragSftControlManual | 1 | The application calls the OLEDrag method to start an OLE drag & drop operation using this control as a drag source. |
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.
See Reorder Sample
See Also SftTabs Object | Object Hierarchy