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
Returns the item's first sibling.
Get
VB.NET | ItemIndex = object.FirstSibling As Integer |
VB | ItemIndex = object.FirstSibling As Long |
C#.NET | int ItemIndex = object.FirstSibling; |
VC++ | long ItemIndex = object->FirstSibling; long ItemIndex = object->GetFirstSibling(); |
C | HRESULT object->get_FirstSibling(long* ItemIndex); |
object
A SftTreeItem object.
ItemIndex
Returns the item's first sibling. If the item doesn't have a sibling item, -1 is returned.
The FirstSibling property returns the item's first sibling.
The first sibling of the item is found by scanning towards the beginning of the tree control and locating an item on the same level (Item.Level property) as the item without encountering a parent item.
The Item.LastSibling property can be used to retrieve an item's last sibling. The Item.NextSibling and Item.PrevSibling properties can be used to retrieve an item's next or previous sibling.
See Also SftTreeItem Object | Object Hierarchy