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
Searches the Data property of items.
VB.NET | FoundIndex = object.FindData(ByVal ItemIndex As Integer, ByVal ItemData As Integer) As Integer |
VB | FoundIndex = object.FindData(ByVal ItemIndex As Long, ByVal ItemData As Long) As Long |
C#.NET | int FoundIndex = object.FindData(int ItemIndex, int ItemData); |
VC++ | long FoundIndex = object->FindData(long ItemIndex, long ItemData); |
C | HRESULT object->raw_FindData(long ItemIndex, long ItemData, long* FoundIndex); |
object
A SftTreeItems object.
ItemIndex
The zero-based index of the item where the search begins (including ItemIndex).
ItemData
The value to be searched.
FoundIndex
Returns the index of the item whose Item.Data property has the value specified by ItemData. -1 is returned if no matching item is found.
The FindData method searches the Item.Data property of items.
The value described by ItemData is compared to the Item.Data property of all items involved in the search. The search starts at the item described by ItemIndex. If an item with a matching Item.Data property is found, its zero-based index is returned, otherwise -1 is returned.
See Also SftTreeItems Object | Object Hierarchy