SftMask/OCX 6.5

SftMask.BackColorInvalid Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

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

VB

Clr = object.BackColorInvalid  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->BackColorInvalid;
OLE_COLOR Clr = object->GetBackColorInvalid();

C

HRESULT object->get_BackColorInvalid(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.BackColorInvalid = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->BackColorInvalid = Clr;
void object->PutBackColorInvalid(OLE_COLOR Clr);

C

HRESULT object->put_BackColorInvalid(OLE_COLOR Clr);

Delphi

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

object

A SftMask object.

Clr

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

Comments

The BackColorInvalid property defines the control's background color when its contents are invalid (see Contents.Valid).

If the contents are valid, the BackColor property defines the control's default background color.

Text that is selected uses the SelectBackColor property instead. The caption’s background color is defined using the Caption.BackColor property.

If Windows themes are used, this property may have no effect depending on the ThemeStyle property setting.


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