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
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
SftTree/NET 2.0 - Tree Control
Defines how drag & drop is implemented.
Get
| VB.NET | Style = object.DragMethod As SftTreeDragMethodConstants |
| VB | Style = object.DragMethod As SftTreeDragMethodConstants |
| C#.NET | SftTreeDragMethodConstants Style = object.DragMethod; |
| VC++ | enum SftTreeDragMethodConstants Style = object->DragMethod; enum SftTreeDragMethodConstants Style = object->GetDragMethod(); |
| C | HRESULT object->get_DragMethod(enum SftTreeDragMethodConstants* Style); |
Put
| VB.NET | object.DragMethod = Style As SftTreeDragMethodConstants |
| VB | object.DragMethod = Style As SftTreeDragMethodConstants |
| C#.NET | SftTreeDragMethodConstants object.DragMethod = Style; |
| VC++ | enum SftTreeDragMethodConstants object->DragMethod = Style; void object->PutDragMethod(enum SftTreeDragMethodConstants Style); |
| C | HRESULT object->put_DragMethod(enum SftTreeDragMethodConstants Style); |
object
Defines how drag & drop is implemented. When a drag & drop operation starts, the OLEStartDrag, DragStarting or AutoDragging events are generated, based on the DragMethod property settings.
| Style | Value | Description |
|---|---|---|
| dragSftTreeNone | 0 | Drag & drop is not supported. |
| dragSftTreeManual | 1 | Drag & drop is supported. A DragStarting event is generated. The application is responsible for drag & drop within and outside the tree control. |
| dragSftTreeAuto | 2 | Drag & drop is supported within the tree control. Drag & drop outside the tree control is not possible. The AutoDragging event is generated if a drag & drop operation starts. |
| dragSftTreeOLE | 3 | An OLE drag & drop operation is started automatically based on the DragType property settings. |
The DragMethod property defines how drag & drop is implemented.
The DragType property determines when the OLEStartDrag, DragStarting or AutoDragging event is generated to notify the application that a drag & drop operation has been initiated by the user.
A drag & drop operation always starts at the current location described by the Items.Current property. It is the application's responsibility to visually implement the drag & drop operation.
ButtonStyle = 2
CellEventHandling= 0
CellEditStyle = 0
CellEditLimit = 0
ColumnCount = 1
CopyItemDataString= 0
CustomCode = 0
DragImage = -842150451
DragMethod = 3
DragType = 7
Enabled = 1
HandleReturn = -842150451
MouseIcon = "Form1.frx":000C
MousePointer = 0
LeftButtonOnly = -1
LeftItemClickOnly= 0See Also SftTree Object | Object Hierarchy
