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 index of an item's previous sibling item.
Deprecated - Provided for compatibility with earlier versions only - Use Item.PrevSibling instead
Get
VB.NET | SiblingIndex = object.get_PrevSibling(ByVal ItemIndex As Integer) As Integer |
VB | SiblingIndex = object.PrevSibling(ByVal ItemIndex As Long) As Long |
C#.NET | int SiblingIndex = object.get_PrevSibling(int ItemIndex); |
VC++ | long SiblingIndex = object->PrevSibling[long ItemIndex]; long SiblingIndex = object->GetPrevSibling(long ItemIndex); |
C | HRESULT object->get_PrevSibling(long ItemIndex, long* SiblingIndex); |
object
ItemIndex
The zero-based index of the item whose previous sibling item is to be returned.
SiblingIndex
Returns the index of the item's previous sibling item. -1 is returned if the item doesn't have a previous sibling.
Deprecated - Provided for compatibility with earlier versions only - Use Item.PrevSibling instead
The PrevSibling property returns the index of an item's previous sibling item.
The previous sibling of item ItemIndex is found by scanning towards the beginning of the tree control and locating an item on the same level (Item.Level property) as item ItemIndex without encountering a parent item.
The Item.NextSibling property can be used to retrieve an item's next sibling. The Item.FirstSibling and Item.LastSibling properties can be used to retrieve an item's first or last sibling.
See Also SftTree Object | Object Hierarchy