SftTree/OCX 7.0

SftTreeRowHeader.BackColor Property

Softel vdm, Inc.

Defines the row header's background color.

Syntax       

 

Get

VB.NET

Clr = object.BackColor  As UIntegerLanguage-specific information

VB

Clr = object.BackColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.BackColor;

VC++

OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();

C

HRESULT object->get_BackColor(OLE_COLOR* Clr);

Delphi

Clr := object.BackColor  : Cardinal;

Put

VB.NET

object.BackColor = Clr  As UIntegerLanguage-specific information

VB

object.BackColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.BackColor = Clr;

VC++

OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);

C

HRESULT object->put_BackColor(OLE_COLOR Clr);

Delphi

object.BackColor := Clr  : Cardinal;

object

A SftTreeRowHeader object.

Clr

Defines the row header's background color.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The BackColor property defines the row header's background color.

The row header has the background color attribute Clr.  This color is used as background color when the item is not selected.  If the item is selected, the RowHeader.SelectBackColor property is used instead.

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

This property may have no effect when Windows themes are used. Certain semi-transparent themes use this color for portions of the background. The RowHeader.OverrideTheme property can be used to override Windows themes so defined colors are used instead.

See Also  SftTreeRowHeader Object | Object Hierarchy


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