Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemDataFloat Property, SftTree Object

Defines an item's application specific floating point value.

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataFloat instead

Syntax

Get

VB.NETData = object.get_ItemDataFloat(ByVal ItemIndex As Integer) As Single
VBData = object.ItemDataFloat(ByVal ItemIndex As Long) As Single
C#.NETfloat Data = object.get_ItemDataFloat(int ItemIndex);
VC++float Data = object->ItemDataFloat[long ItemIndex];
float Data = object->GetItemDataFloat(long ItemIndex);
CHRESULT object->get_ItemDataFloat(long ItemIndex, float* Data);

Put

VB.NETobject.set_ItemDataFloat(ByVal ItemIndex As Integer, ByVal Data As Single)
VBobject.ItemDataFloat(ByVal ItemIndex As Long) = Data As Single
C#.NETvoid object.set_ItemDataFloat(int ItemIndex, float Data);
VC++float object->ItemDataFloat[long ItemIndex] = Data;
void object->PutItemDataFloat(long ItemIndex, float Data);
CHRESULT object->put_ItemDataFloat(long ItemIndex, float Data);

object

A SftTree object.

ItemIndex

The zero-based item index.

Data

Defines an item's application specific floating point value.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataFloat instead

The ItemDataFloat property defines an item's application specific floating point value.

The ItemDataFloat 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.Data, 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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.