Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ColumnSelectForeColor Property, SftTree Object

Defines the text color of selected items in the specified column.

Deprecated - Provided for compatibility with earlier versions only - Use Column.SelectForeColor instead

Syntax

Get

VB.NETClr = object.get_ColumnSelectForeColor(ByVal ColIndex As Short) As System.Drawing.Color
VBClr = object.ColumnSelectForeColor(ByVal ColIndex As Integer) As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.get_ColumnSelectForeColor(short ColIndex);
VC++OLE_COLOR Clr = object->ColumnSelectForeColor[short ColIndex];
OLE_COLOR Clr = object->GetColumnSelectForeColor(short ColIndex);
CHRESULT object->get_ColumnSelectForeColor(short ColIndex, OLE_COLOR* Clr);

Put

VB.NETobject.set_ColumnSelectForeColor(ByVal ColIndex As Short, ByVal Clr As System.Drawing.Color)
VBobject.ColumnSelectForeColor(ByVal ColIndex As Integer) = Clr As OLE_COLOR
C#.NETvoid object.set_ColumnSelectForeColor(short ColIndex, uint Clr);
VC++OLE_COLOR object->ColumnSelectForeColor[short ColIndex] = Clr;
void object->PutColumnSelectForeColor(short ColIndex, OLE_COLOR Clr);
CHRESULT object->put_ColumnSelectForeColor(short ColIndex, OLE_COLOR Clr);

object

A SftTree object.

ColIndex

The zero-based column number.

Clr

Defines the text color of selected items in the specified column. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Column.SelectForeColor instead

The ColumnSelectForeColor property defines the text color of selected items in the specified column ColIndex of items that are selected.

Cells can override the foreground color using the Cell.SelectForeColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectForeColor property for only portions of the item, the Column.ForeColor property is used for the remainder of the item.

See Also SftTree Object | Object Hierarchy


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