SftTree/OCX 7.0

SftTreeHeader.SelectBackColor Property

Softel vdm, Inc.

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

Syntax       

 

Get

VB.NET

Clr = object.SelectBackColor  As UIntegerLanguage-specific information

VB

Clr = object.SelectBackColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.SelectBackColor;

VC++

OLE_COLOR Clr = object->SelectBackColor;
OLE_COLOR Clr = object->GetSelectBackColor();

C

HRESULT object->get_SelectBackColor(OLE_COLOR* Clr);

Delphi

Clr := object.SelectBackColor  : Cardinal;

Put

VB.NET

object.SelectBackColor = Clr  As UIntegerLanguage-specific information

VB

object.SelectBackColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.SelectBackColor = Clr;

VC++

OLE_COLOR object->SelectBackColor = Clr;
void object->PutSelectBackColor(OLE_COLOR Clr);

C

HRESULT object->put_SelectBackColor(OLE_COLOR Clr);

Delphi

object.SelectBackColor := Clr  : Cardinal;

object

A SftTreeHeader object.

Clr

Defines the background color for this column header, when it is pressed. -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 SelectBackColor property defines the background 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.BackColor, 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.BackColor. This color can also override Windows themes, if the Header.OverrideTheme property is set accordingly.

See Also  SftTreeHeader Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com