

| 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(oScrollBar) 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 |
For instance, the following VB sample prints the control's Value on the control's thumb:
Private Sub ScrollBar1_Change()
With ScrollBar1
.Caption(exThumbPart) = .Value
End With
End Sub
The following C++ sample prints the control's Value on the control's thumb:
void OnChangeScrollbar1()
{
CString strFormat;
strFormat.Format( _T("%i"), m_scrollbar.GetValue() );
m_scrollbar.SetCaption( 256, strFormat );
}The following VB.NET sample prints the control's Value on the control's thumb:
With AxScrollBar1
.set_Caption(EXSCROLLBARLib.PartEnum.exThumbPart, .Value.ToString())
End WithThe following C# sample prints the control's Value on the control's thumb:
private void axScrollBar1_Change(object sender, EventArgs e)
{
axScrollBar1.set_Caption(EXSCROLLBARLib.PartEnum.exThumbPart, axScrollBar1.Value.ToString());
}The following VFP sample prints the control's Value on the control's thumb:
*** ActiveX Control Event *** with thisform.ScrollBar1 .Caption(256) = .Value endwith