SftDirectory 2.5

SftDirectoryColumn.ForeColor Property

Softel vdm, Inc.

Defines the default foreground color for all 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  : CardinalLanguage-specific information;

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  : CardinalLanguage-specific information;

object

A SftDirectoryColumn object.

Clr

Defines the default foreground color for all cells in this column.

Comments

The ForeColor property defines the default foreground color for all cells in this column.

It overrides the control's ForeColor property.  Individual folders can override the color using the Folder.ForeColor property.

Depending on a folder's attributes, the color defined using the ForeColorArchiveReady, ForeColorCompressed, ForeColorEncrypted, ForeColorHidden or ForeColorReadOnly properties may be used instead of the ForeColor property.


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