SftBox/OCX 4.5

SftBoxCell.Tag Property

Softel vdm, Inc.

Defines the cell's application specific variant value.

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

Syntax       

Get

VB.NET

V = object.Tag  As Object

VB

V = object.Tag  As Variant

C#.NET

object V = object.Tag;

VC++

_variant_t V = object->Tag;
_variant_t V = object->GetTag();

C

HRESULT object->get_Tag(VARIANT* V);

Delphi

V := object.Tag   : OleVariant;

Put

VB.NET

object.Tag = V  As Object

VB

object.Tag = V  As Variant

C#.NET

object object.Tag = V;

VC++

_variant_t object->Tag = V;
void object->PutTag(const _variant_t& V);

C

HRESULT object->put_Tag(VARIANT V);

Delphi

object.Tag := V   : OleVariant;

object

A SftBoxCell object.

V

Defines the cell's application specific variant value.

Comments

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

The Tag property defines the cell's application specific variant value.

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

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

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