property CalcEdit.ForeColor as Color
Specifies the control's foreground color.

TypeDescription
Color A color expression that specifies the control's foreground color. 
Use the BackColor and ForeColor properties to define the control's background and foreground colors.  The ForeColor property has no effect if the control's Enabled property is False. Use the Picture property to assign a picture on the control's background.

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