SftDirectory 2.5

SftDirectory.ForeColorReadOnly Property

Softel vdm, Inc.

Defines the foreground color of read/only files/folders.

Syntax       

Get

VB.NET

Clr = object.ForeColorReadOnly  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.ForeColorReadOnly  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.ForeColorReadOnly;

VC++

OLE_COLOR Clr = object->ForeColorReadOnly;
OLE_COLOR Clr = object->GetForeColorReadOnly();

C

HRESULT object->get_ForeColorReadOnly(OLE_COLOR* Clr);

Delphi

Clr := object.ForeColorReadOnly  : TColorLanguage-specific information;

Put

VB.NET

object.ForeColorReadOnly = Clr  As System.Drawing.ColorLanguage-specific information

VB

object.ForeColorReadOnly = Clr  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information object.ForeColorReadOnly = Clr;

VC++

OLE_COLOR object->ForeColorReadOnly = Clr;
void object->PutForeColorReadOnly(OLE_COLOR Clr);

C

HRESULT object->put_ForeColorReadOnly(OLE_COLOR Clr);

Delphi

object.ForeColorReadOnly := Clr  : TColorLanguage-specific information;

object

A SftDirectory object.

Clr

Defines the foreground color of read/only files/folders.

Comments

The ForeColorReadOnly property defines the foreground color of read/only files/folders.

If a file/folder is read/only, the foreground color defined using the ForeColorReadOnly property is used to display the file/folder's text.  The Folder.ForeColor property overrides a file/folder's foreground color.


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