SftMask/OCX 6.5

SftMask.BackColorFocus Property

Softel vdm, Inc.

Defines the control's background color when it has the input focus.

Syntax       

Get

VB.NET

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

VB

Clr = object.BackColorFocus  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->BackColorFocus;
OLE_COLOR Clr = object->GetBackColorFocus();

C

HRESULT object->get_BackColorFocus(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.BackColorFocus = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->BackColorFocus = Clr;
void object->PutBackColorFocus(OLE_COLOR Clr);

C

HRESULT object->put_BackColorFocus(OLE_COLOR Clr);

Delphi

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

object

A SftMask object.

Clr

Defines the control's background color when it has the input focus.

Comments

The BackColorFocus property defines the control's background color when it has the input focus.

If the control does not have the input focus or if no color has been defined for the BackColorFocus property, the BackColor property defines the control's default background color.

Text that is selected uses the SelectBackColorFocus 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