![]() | Type | Description |
The following VB sample displays the result in the output window:
Private Sub CalcEdit1_Change()
Debug.Print CalcEdit1.Result
End Sub
The following VB.NET sample displays the result in the output window:
Private Sub AxCalcEdit1_Change(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxCalcEdit1.Change
System.Diagnostics.Debug.WriteLine(AxCalcEdit1.Result.ToString())
End Sub
The following C# sample displays the result in the output window:
private void axCalcEdit1_Change(object sender, EventArgs e)
{
System.Diagnostics.Debug.WriteLine(axCalcEdit1.Result.ToString());
}
The following C++ sample displays the result in the output window:
void OnChangeCalcedit1()
{
TCHAR szText[1024] = _T("");
_stprintf( szText, _T("%f\n"), m_calcEdit.GetResult() );
OutputDebugString( szText );
}
The following VFP sample displays the result in the output window:
*** ActiveX Control Event *** with thisform.CalcEdit1 ? Str(.Result) endwith