property Edit.BackColor as Color
Retrieves or sets a value that indicates the control's background color.

TypeDescription
Color A color expression that specifies the control's background color. 

Use the BackColor and ForeColor properties to define the control's background and foreground colors. Use the BackColorAlternate property to specify the background color for alternate lines. Use the BackColorLine property to specify the line's background color. Use the ForeColorLine property to specify the line's foreground color. Use the Picture property to assign a picture on the control's background. If the control is read-only ( Locked property is True ), the BackColorLockedLine property indicates the control's background color, if it is not zero. If the control is read-only ( Locked property is True ), the ForeColorLockedLine property indicates the control's foreground color, if it is not zero. Use the ApplyColors property to hide the colors inside the control.

The following VB sample changes the control's background color:

With Edit1
    .BackColor = ColorConstants.vbWhite
End With

The following C++ sample changes the control's background color:

m_edit.SetBackColor( RGB(255,255,255) );

The following VB.NET sample changes the control's background color:

With AxEdit1
    .BackColor = Color.White
End With

The following C# sample changes the control's background color:

axEdit1.BackColor = Color.White;

The following VFP sample changes the control's background color:

With thisform.Edit1.Object
	.BackColor = RGB(255,255,255)
endwith