Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

BackColorFocus Property, SftMask Object

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

Syntax

Get

VB.NETClr = object.BackColorFocus As System.Drawing.Color
VBClr = object.BackColorFocus As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.BackColorFocus;
VC++OLE_COLOR Clr = object->BackColorFocus;
OLE_COLOR Clr = object->GetBackColorFocus();
CHRESULT object->get_BackColorFocus(OLE_COLOR* Clr);

Put

VB.NETobject.BackColorFocus = Clr As System.Drawing.Color
VBobject.BackColorFocus = Clr As OLE_COLOR
C#.NETSystem.Drawing.Color object.BackColorFocus = Clr;
VC++OLE_COLOR object->BackColorFocus = Clr;
void object->PutBackColorFocus(OLE_COLOR Clr);
CHRESULT object->put_BackColorFocus(OLE_COLOR Clr);

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.

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.