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 item's application specific value.
Deprecated - Provided for compatibility with earlier versions only - Use Item.Data instead
Get
VB.NET | Data = object.get_ItemData(ByVal ItemIndex As Integer) As Integer |
VB | Data = object.ItemData(ByVal ItemIndex As Long) As Long |
C#.NET | int Data = object.get_ItemData(int ItemIndex); |
VC++ | long Data = object->ItemData[long ItemIndex]; long Data = object->GetItemData(long ItemIndex); |
C | HRESULT object->get_ItemData(long ItemIndex, long* Data); |
Put
VB.NET | object.set_ItemData(ByVal ItemIndex As Integer, ByVal Data As Integer) |
VB | object.ItemData(ByVal ItemIndex As Long) = Data As Long |
C#.NET | void object.set_ItemData(int ItemIndex, int Data); |
VC++ | long object->ItemData[long ItemIndex] = Data; void object->PutItemData(long ItemIndex, long Data); |
C | HRESULT object->put_ItemData(long ItemIndex, long Data); |
object
ItemIndex
The zero-based item index.
Data
Defines an item's application specific value.
Deprecated - Provided for compatibility with earlier versions only - Use Item.Data instead
The ItemData property defines an item's application specific value.
The ItemData property can be used to store an application specific value with an item. Possible uses include storing values used for sorting purposes (see Items.SortDependents method).
Additional properties used to associate an application defined value with an item are Item.DataFloat, Item.DataObject, Item.DataString and Item.DataTag. 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