SftTree/OCX 7.0

SftTreeColumn.SelectForeColor Property

Softel vdm, Inc.

Defines the text color of selected items in this column.

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

Clr

Defines the text color of selected items in this column.

Comments

The SelectForeColor property defines the text color of selected items in this column. -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 ...".

Cells can override the foreground color using the Cell.SelectForeColor property.  If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectForeColor property for only portions of the item, the Column.ForeColor property is used for the remainder of the item.

See Also  SftTreeColumn Object | Object Hierarchy


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