Type | Description | |||
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 ( when the control is not locked ) . Use the BackColorAlternate property to specify the background color for alternate lines. Use the Picture property to assign a picture on the control's background. The BackColorLocked property specifies the control's background while it is locked. The Locked property specifies whether the control is read-only.
The following VB sample changes the control's background color:
With HTML1 .BackColor = ColorConstants.vbWhite End With
The following C++ sample changes the control's background color:
m_html.SetBackColor( RGB(255,255,255) );
The following VB.NET sample changes the control's background color:
With AxHTML1 .BackColor = Color.White End With
The following C# sample changes the control's background color:
axHTML1.BackColor = Color.White;
The following VFP sample changes the control's background color:
With thisform.HTML1.Object .BackColor = RGB(255,255,255) endwith