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 item data (Item.DataTag property).
VB.NET | FoundIndex = object.FindDataTag(ByVal vData As Object, ByVal StartIndex As Integer, ByVal EndIndex As Integer) As Integer |
VB | FoundIndex = object.FindDataTag(ByVal vData As Variant, ByVal StartIndex As Long, ByVal EndIndex As Long) As Long |
C#.NET | int FoundIndex = object.FindDataTag(object vData, int StartIndex, int EndIndex); |
VC++ | long FoundIndex = object->FindDataTag(const _variant_t& vData, long StartIndex, long EndIndex); |
C | HRESULT object->raw_FindDataTag(VARIANT vData, long StartIndex, long EndIndex, long* FoundIndex); |
object
vData
The data to be searched.
StartIndex
The zero-based index of the item where the search is to begin (including the item at StartIndex). Specify StartIndex as -1 and EndIndex as -1 to search all items.
EndIndex
The zero-based index of the item where the search is to begin (including the item at StartIndex). Specify StartIndex as -1 and EndIndex as -1 to search all items.
FoundIndex
Returns the zero-based index of the item found. -1 is returned if no match was found.
The FindDataTag method searches item data (Item.DataTag property).
The data described by vData is compared to the Item.DataTag property of all items involved in the search. The search starts at the item described by StartIndex. If an item with a matching Item.DataTag property is found, its zero-based index is returned, otherwise -1 is returned.
See Also SftBoxItems Object | Object Hierarchy