Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ForeColorDisabled Property, SftTreeHeader Object

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

Syntax

Get

VB.NETClr = object.ForeColorDisabled As UInteger
VBClr = object.ForeColorDisabled As OLE_COLOR
C#.NETuint Clr = object.ForeColorDisabled;
VC++OLE_COLOR Clr = object->ForeColorDisabled;
OLE_COLOR Clr = object->GetForeColorDisabled();
CHRESULT object->get_ForeColorDisabled(OLE_COLOR* Clr);

Put

VB.NETobject.ForeColorDisabled = Clr As UInteger
VBobject.ForeColorDisabled = Clr As OLE_COLOR
C#.NETuint object.ForeColorDisabled = Clr;
VC++OLE_COLOR object->ForeColorDisabled = Clr;
void object->PutForeColorDisabled(OLE_COLOR Clr);
CHRESULT object->put_ForeColorDisabled(OLE_COLOR Clr);

object

A SftTreeHeader object.

Clr

Defines the foreground color for this column header, when it is disabled. -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 ...".

Comments

The ForeColorDisabled property defines the foreground color for this column header, when it is disabled.

If the column header is disabled, the color defined using the ForeColorDisabled property overrides the default color for this column header defined using Header.ForeColor. This color can also override Windows themes, if the Header.OverrideTheme property is set accordingly.

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 Header.ForeColor property can be used to define the foreground color for this column header, when it is not disabled.

See Also SftTreeHeader Object | Object Hierarchy


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