SftTree/OCX 7.0

SftTreeCell.SelectForeColor Property

Softel vdm, Inc.

Defines the cell's foreground color when the item is selected.

Syntax       

 

Get

VB.NET

Clr = object.SelectForeColor  As UIntegerLanguage-specific information

VB

Clr = object.SelectForeColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.SelectForeColor;

VC++

OLE_COLOR Clr = object->SelectForeColor;
OLE_COLOR Clr = object->GetSelectForeColor();

C

HRESULT object->get_SelectForeColor(OLE_COLOR* Clr);

Delphi

Clr := object.SelectForeColor  : Cardinal;

Put

VB.NET

object.SelectForeColor = Clr  As UIntegerLanguage-specific information

VB

object.SelectForeColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.SelectForeColor = Clr;

VC++

OLE_COLOR object->SelectForeColor = Clr;
void object->PutSelectForeColor(OLE_COLOR Clr);

C

HRESULT object->put_SelectForeColor(OLE_COLOR Clr);

Delphi

object.SelectForeColor := Clr  : Cardinal;

object

A SftTreeCell object.

Clr

Defines the cell's foreground color when the item is selected. -1 indicates that there is no defined color and the default color defined using Column.SelectForeColor is used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The SelectForeColor property defines the cell's foreground color when the item is selected.

The cell has the foreground color attribute Clr. This color is used as text color when the item is selected. If the item is not selected and uses a suitable selection style (Items.SelectStyle), the Cell.ForeColor property is used instead.

See Also  SftTreeCell Object | Object Hierarchy


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