

| Type | Description |
private void Change(object sender)
{
}
Private Sub Change(ByVal sender As System.Object) Handles Change End Sub |
private void Change(object sender, EventArgs e)
{
}
void OnChange()
{
}
void __fastcall Change(TObject *Sender)
{
}
procedure Change(ASender: TObject; ); begin end; procedure Change(sender: System.Object; e: System.EventArgs); begin end; begin event Change() end event Change Private Sub Change(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Change End Sub Private Sub Change() End Sub Private Sub Change() End Sub LPARAMETERS nop PROCEDURE OnChange(oCalcEdit) RETURN |
<SCRIPT EVENT="Change()" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function Change() End Function </SCRIPT> Procedure OnComChange Forward Send OnComChange End_Procedure METHOD OCX_Change() CLASS MainDialog RETURN NIL void onEvent_Change()
{
}
function Change as v () end function function nativeObject_Change() return |
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