Type | Description | |||
Color | A color expression that specifies the control's foreground color. |
The following VB sample changes the control's foreground color:
With CalcEdit1 .ForeColor = ColorConstants.vbBlack End With
The following C++ sample changes the control's foreground color:
m_calcEdit.SetForeColor( RGB(0,0,0) );
The following VB.NET sample changes the control's foreground color:
With AxCalcEdit1 .ForeColor = Color.Black End With
The following C# sample changes the control's foreground color:
axCalcEdit1.ForeColor = Color.Black;
The following VFP sample changes the control's foreground color:
With thisform.CalcEdit1.Object .ForeColor = RGB(0,0,0) endwith