Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

BackColor Property, SftMask Object

Defines the control's default background color.

Syntax

Get

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

Put

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

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.

See Also SftMask Object | Object Hierarchy


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