Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SelectForeColor Property, SftTreeHeader Object

Defines the foreground color for this column header, when it is pressed.

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 SftTreeHeader object.

Clr

Defines the foreground color for this column header, when it is pressed. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The SelectForeColor property defines the foreground color for this column header, when it is pressed.

When updating this property and the specified color Clr is the same value as the color currently defined using Headers.ForeColor, the value -1 is saved, indicating that there is no defined color and default colors are used.

The color defined overrides the default color for column headers defined using Header.ForeColor. This color can also override Windows themes, if the Header.OverrideTheme property is set accordingly.

See Also SftTreeHeader Object | Object Hierarchy


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