Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellForeColor Property, VirtualItem Object

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

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

Syntax

Put

VB.NETobject.CellForeColor(ByVal ColIndex As Short) = Clr As UInteger
VBobject.CellForeColor(ByVal ColIndex As Integer) = Clr As OLE_COLOR
C#.NETvoid object.set_CellForeColor(short ColIndex, uint Clr);
VC++OLE_COLOR object->CellForeColor[short ColIndex] = Clr;
void object->PutCellForeColor(short ColIndex, OLE_COLOR Clr);
CHRESULT object->put_CellForeColor(short ColIndex, OLE_COLOR Clr);

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 foreground 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.ForeColor instead

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

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

See Also VirtualItem Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.