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
Defines an application defined value associated with an item.
Deprecated - Provided for compatibility with earlier versions only - Use Item.DataTag instead
Get
VB.NET | Data = object.get_ItemDataTag(ByVal ItemIndex As Integer) As Object |
VB | Data = object.ItemDataTag(ByVal ItemIndex As Long) As Variant |
C#.NET | object Data = object.get_ItemDataTag(int ItemIndex); |
VC++ | _variant_t Data = object->ItemDataTag[long ItemIndex]; _variant_t Data = object->GetItemDataTag(long ItemIndex); |
C | HRESULT object->get_ItemDataTag(long ItemIndex, VARIANT* Data); |
Put
VB.NET | object.set_ItemDataTag(ByVal ItemIndex As Integer, ByVal Data As Object) |
VB | object.ItemDataTag(ByVal ItemIndex As Long) = Data As Variant |
C#.NET | void object.set_ItemDataTag(int ItemIndex, object Data); |
VC++ | _variant_t object->ItemDataTag[long ItemIndex] = Data; void object->PutItemDataTag(long ItemIndex, const _variant_t& Data); |
C | HRESULT object->put_ItemDataTag(long ItemIndex, VARIANT Data); |
object
ItemIndex
The zero-based item index.
Data
Defines an application defined value associated with an item.
Deprecated - Provided for compatibility with earlier versions only - Use Item.DataTag instead
The ItemDataTag property defines an application defined value associated with an item.
Additional properties used to associate an application defined value with an item are Item.Data, Item.DataFloat, Item.DataObject and Item.DataString. These are distinct properties and can be used at the same time.
Cell related data can be saved using the Cell.Data, Cell.DataObject, Cell.DataString and Cell.DataTag properties.
See Also SftTree Object | Object Hierarchy