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
Copies items to a new position in the tree control.
VB.NET | CountCopied = object.CopyAfter(ByVal FromIndex As Integer, ByVal Count As Integer, ByVal AfterIndex As Integer) As Integer |
VB | CountCopied = object.CopyAfter(ByVal FromIndex As Long, ByVal Count As Long, ByVal AfterIndex As Long) As Long |
C#.NET | int CountCopied = object.CopyAfter(int FromIndex, int Count, int AfterIndex); |
VC++ | long CountCopied = object->CopyAfter(long FromIndex, long Count, long AfterIndex); |
C | HRESULT object->raw_CopyAfter(long FromIndex, long Count, long AfterIndex, long* CountCopied); |
object
A SftTreeItems object.
FromIndex
The zero-based index of the first item to be copied.
Count
The number of items to be copied.
AfterIndex
The zero-based index of the position after which the items are to be inserted. If AfterIndex is -1, the items will be added at the end of the list.
CountCopied
Copies items to a new position in the tree control.
The CopyAfter method copies items to a new position in the tree control.
The Copy method copies all item attributes, including cell text, graphics, level, row header contents, etc. Also copied are all data attributes such as Cell.Data, Cell.DataString, Item.Data, etc. If these values should remain unique in an application, they have to be explicitly changed after copying an item. The CopyItemDataString property has no effect.
The target InsertIndex cannot be inside the group of items to be copied.
Items can also be copied using the Items.Copy method.
Items can be moved using the Items.Move and Items.MoveAfter methods.
See Also SftTreeItems Object | Object Hierarchy