SftBox/OCX 4.5

SftBoxItem.Tag Property

Softel vdm, Inc.

Defines the item's application specific variant value.

Deprecated - Provided for compatibility with earlier versions only - Use Item.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 SftBoxItem object.

V

Defines the item's application specific variant value.

Comments

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

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

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

The Item.Data and Item.DataObject properties can be used to store additional application specific data, using other data types (numeric values, objects).

Additional properties used to associate an application defined value with a cell are Cell.Data, Cell.DataString, Cell.DataTag and Cell.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