Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxCell.Value Property

Defines the cell's application specific numeric value.

Deprecated - Provided for compatibility with earlier versions only - Use Cell.Data instead

Syntax

Get

VB.NETNumber = object.Value As Integer
VBNumber = object.Value As Long
C#.NETint Number = object.Value;
VC++long Number = object->Value;
long Number = object->GetValue();
CHRESULT object->get_Value(long* Number);

Put

VB.NETobject.Value = Number As Integer
VBobject.Value = Number As Long
C#.NETint object.Value = Number;
VC++long object->Value = Number;
void object->PutValue(long Number);
CHRESULT object->put_Value(long Number);

object

A SftBoxCell object.

Number

Defines the cell's application specific numeric value. This data is application defined, but is also used by the Items.AddFontNames, AddFontStyles, AddFontSizes methods.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Cell.Data instead

The Value property defines the cell's application specific numeric value.

The Items.AddFontNames, Items.AddFontStyles, Items.AddFontSizes methods store additional information in the Cell.Data property for each item added.

The Cell.Data property can be used for sorting purposes using the Items.Sort method or can be located using the Items.FindCellData method.

The Cell.DataString, Cell.DataObject, Cell.DataTag properties can be used to store additional application specific data, using other data types (strings, objects, variants).

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataTag and Item.DataObject. These are distinct properties and can be used at the same time.

See Also SftBoxCell Object | Object Hierarchy


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