Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SelectForeColor Property, SftTreeColumn Object

Defines the text color of selected items in this column.

Syntax

Get

VB.NETClr = object.SelectForeColor As UInteger
VBClr = object.SelectForeColor As OLE_COLOR
C#.NETuint Clr = object.SelectForeColor;
VC++OLE_COLOR Clr = object->SelectForeColor;
OLE_COLOR Clr = object->GetSelectForeColor();
CHRESULT object->get_SelectForeColor(OLE_COLOR* Clr);

Put

VB.NETobject.SelectForeColor = Clr As UInteger
VBobject.SelectForeColor = Clr As OLE_COLOR
C#.NETuint object.SelectForeColor = Clr;
VC++OLE_COLOR object->SelectForeColor = Clr;
void object->PutSelectForeColor(OLE_COLOR Clr);
CHRESULT object->put_SelectForeColor(OLE_COLOR Clr);

object

A SftTreeColumn object.

Clr

Defines the text color of selected items in this column.

Comments

The SelectForeColor property defines the text color of selected items in this column. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

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 SftTreeColumn Object | Object Hierarchy


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