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
Moves items to a new position in the tree control.
VB.NET | CountMoved = object.MoveAfter(ByVal FromIndex As Integer, ByVal Count As Integer, ByVal AfterIndex As Integer) As Integer |
VB | CountMoved = object.MoveAfter(ByVal FromIndex As Long, ByVal Count As Long, ByVal AfterIndex As Long) As Long |
C#.NET | int CountMoved = object.MoveAfter(int FromIndex, int Count, int AfterIndex); |
VC++ | long CountMoved = object->MoveAfter(long FromIndex, long Count, long AfterIndex); |
C | HRESULT object->raw_MoveAfter(long FromIndex, long Count, long AfterIndex, long* CountMoved); |
object
A SftTreeItems object.
FromIndex
The zero-based index of the first item to be moved.
Count
The number of items to be moved.
AfterIndex
The zero-based index of the position after which the items are to be inserted. If InsertIndex is -1, the items will be moved to the end of the list.
CountMoved
Moves items to a new position in the tree control.
The MoveAfter method moves items to a new position in the tree control.
The MoveAfter method copies all item attributes, including cell text, graphics, level, row header contents, etc. All application specific data is moved (such as Item.Data, etc.). The CopyItemDataString property has no effect.
The target item AfterIndex cannot be inside the group of items to be moved.
Items can also be moved using the Items.Move method.
Items can be copied using the Items.Copy method.
See Also SftTreeItems Object | Object Hierarchy