SftBox/OCX 4.5

SftBoxCell.Value Property

Softel vdm, Inc.

Defines the cell's application specific numeric value.

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

Syntax       

Get

VB.NET

Number = object.Value  As Integer

VB

Number = object.Value  As Long

C#.NET

int Number = object.Value;

VC++

long Number = object->Value;
long Number = object->GetValue();

C

HRESULT object->get_Value(long* Number);

Delphi

Number := object.Value   : Integer;

Put

VB.NET

object.Value = Number  As Integer

VB

object.Value = Number  As Long

C#.NET

int object.Value = Number;

VC++

long object->Value = Number;
void object->PutValue(long Number);

C

HRESULT object->put_Value(long Number);

Delphi

object.Value := Number   : Integer;

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.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com