SftMask/OCX 6.5

SftMask.BackColor Property

Softel vdm, Inc.

Defines the control's default background color.

Syntax       

Get

VB.NET

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

VB

Clr = object.BackColor  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();

C

HRESULT object->get_BackColor(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.BackColor = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);

C

HRESULT object->put_BackColor(OLE_COLOR Clr);

Delphi

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

object

A SftMask object.

Clr

Defines the control's default background color.

Comments

The BackColor property defines the control's default background color.

This color is used for the background of the edit control. Text that is selected uses the SelectBackColor property instead. The caption’s background color is defined using the Caption.BackColor property.

If the control has the input focus, the BackColorFocus property is used instead.

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