SftTree/OCX 7.0

VirtualItem.CellBackColor Property

Softel vdm, Inc.

Defines the background color used to draw the item's cell that is not selected.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.BackColor instead

Syntax       

Put

VB.NET

object.CellBackColor(ByVal ColIndex As Short) = Clr  As UIntegerLanguage-specific information

VB

object.CellBackColor(ByVal ColIndex As Integer) = Clr  As OLE_COLOR

C#.NET

void object.set_CellBackColor(short ColIndex, uintLanguage-specific information Clr);

VC++

OLE_COLOR object->CellBackColor[short ColIndex] = Clr;
void object->PutCellBackColor(short ColIndex, OLE_COLOR Clr);

C

HRESULT object->put_CellBackColor(short ColIndex, OLE_COLOR Clr);

Delphi

object.CellBackColor[ColIndex : Smallint] := Clr  : Cardinal;

object

A VirtualItem object.

ColIndex

The zero-based column number.  The combination of ColIndex and the VirtualItem event's RowIndex parameter describes an individual cell.

Clr

Defines the background color used to draw the item's cell that is not selected.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.BackColor instead

The CellBackColor property defines the background color used to draw the item's cell that is not selected.

The VirtualItem.CellBackColor property is used while handling a VirtualItem event to define the background color for the cell described by ColIndex and the VirtualItem event's RowIndex parameter.

See Also  VirtualItem Object | Object Hierarchy


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