HeaderPane
Main
Hide
Share Link
Print

BackColor Property, SftMask Object

Defines the control's default background color.

Syntax

Get

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

Put

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

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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.