SftMask/OCX 6.5

SftMask.ForeColorInvalid Property

Softel vdm, Inc.

Defines the control's default text color when its contents are invalid.

Syntax       

Get

VB.NET

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

VB

Clr = object.ForeColorInvalid  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->ForeColorInvalid;
OLE_COLOR Clr = object->GetForeColorInvalid();

C

HRESULT object->get_ForeColorInvalid(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.ForeColorInvalid = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->ForeColorInvalid = Clr;
void object->PutForeColorInvalid(OLE_COLOR Clr);

C

HRESULT object->put_ForeColorInvalid(OLE_COLOR Clr);

Delphi

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

object

A SftMask object.

Clr

Defines the control's default text color when its contents are invalid.

Comments

The ForeColorInvalid property defines the control's default text color when its contents are invalid (see Contents.Valid).

If the contents are valid, the ForeColor property defines the control's default text color.

If the control is disabled (see Enabled property), the ForeColorGrayed property defines the foreground color. 

Text that is selected uses the SelectForeColor property instead. The caption’s foreground color is defined using the Caption.ForeColor property.


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