SftTree/OCX 7.0

SftTreeColumn.ForeColor Property

Softel vdm, Inc.

Defines the text color of cells in this column.

Syntax       

 

Get

VB.NET

Clr = object.ForeColor  As UIntegerLanguage-specific information

VB

Clr = object.ForeColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.ForeColor;

VC++

OLE_COLOR Clr = object->ForeColor;
OLE_COLOR Clr = object->GetForeColor();

C

HRESULT object->get_ForeColor(OLE_COLOR* Clr);

Delphi

Clr := object.ForeColor  : Cardinal;

Put

VB.NET

object.ForeColor = Clr  As UIntegerLanguage-specific information

VB

object.ForeColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.ForeColor = Clr;

VC++

OLE_COLOR object->ForeColor = Clr;
void object->PutForeColor(OLE_COLOR Clr);

C

HRESULT object->put_ForeColor(OLE_COLOR Clr);

Delphi

object.ForeColor := Clr  : Cardinal;

object

A SftTreeColumn object.

Clr

Defines the text color of cells 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 ...".

Comments

The ForeColor property defines the text color of cells in this column.

Cells can override the foreground color using the Cell.ForeColor property.  If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectBackColor 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