SftMask/OCX 6.5

SftMask.ForeColorGrayed Property

Softel vdm, Inc.

Defines the control's text color when disabled.

Syntax       

Get

VB.NET

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

VB

Clr = object.ForeColorGrayed  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->ForeColorGrayed;
OLE_COLOR Clr = object->GetForeColorGrayed();

C

HRESULT object->get_ForeColorGrayed(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.ForeColorGrayed = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->ForeColorGrayed = Clr;
void object->PutForeColorGrayed(OLE_COLOR Clr);

C

HRESULT object->put_ForeColorGrayed(OLE_COLOR Clr);

Delphi

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

object

A SftMask object.

Clr

Defines the control's text color when disabled.

Comments

The ForeColorGrayed property defines the control's text color when disabled (see Enabled property).

The ForeColor property defines the foreground color when the control is enabled. The caption’s foreground color is defined using the Caption.ForeColorGrayed property.


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