Occurs when the right range of the scroll has been changed.
Type | Description | |||
Horizontal as Boolean | A boolean expression that indicates whether the range of the horizontal or vertical scroll bar is changed. | |||
NewVal as Long | A long value that indicates the new scroll bar value. |
If the control has no scroll bars the OversizeChanged event is not fired. The OversizeChanged event notifies your application that the range of the control's scroll bars is changed. The OffsetChanged event property notifies your application that the position of the control's scroll bars is changed.
Syntax for OversizeChanged event, /NET version, on:
private void OversizeChanged(object sender,bool Horizontal,int NewVal) { } Private Sub OversizeChanged(ByVal sender As System.Object,ByVal Horizontal As Boolean,ByVal NewVal As Integer) Handles OversizeChanged End Sub |
private void OversizeChanged(object sender, AxEXCOMBOBOXLib._IComboBoxEvents_OversizeChangedEvent e) { } void OnOversizeChanged(BOOL Horizontal,long NewVal) { } void __fastcall OversizeChanged(TObject *Sender,VARIANT_BOOL Horizontal,long NewVal) { } procedure OversizeChanged(ASender: TObject; Horizontal : WordBool;NewVal : Integer); begin end; procedure OversizeChanged(sender: System.Object; e: AxEXCOMBOBOXLib._IComboBoxEvents_OversizeChangedEvent); begin end; begin event OversizeChanged(boolean Horizontal,long NewVal) end event OversizeChanged Private Sub OversizeChanged(ByVal sender As System.Object, ByVal e As AxEXCOMBOBOXLib._IComboBoxEvents_OversizeChangedEvent) Handles OversizeChanged End Sub Private Sub OversizeChanged(ByVal Horizontal As Boolean,ByVal NewVal As Long) End Sub Private Sub OversizeChanged(ByVal Horizontal As Boolean,ByVal NewVal As Long) End Sub LPARAMETERS Horizontal,NewVal PROCEDURE OnOversizeChanged(oComboBox,Horizontal,NewVal) RETURN |
<SCRIPT EVENT="OversizeChanged(Horizontal,NewVal)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function OversizeChanged(Horizontal,NewVal) End Function </SCRIPT> Procedure OnComOversizeChanged Boolean llHorizontal Integer llNewVal Forward Send OnComOversizeChanged llHorizontal llNewVal End_Procedure METHOD OCX_OversizeChanged(Horizontal,NewVal) CLASS MainDialog RETURN NIL void onEvent_OversizeChanged(boolean _Horizontal,int _NewVal) { } function OversizeChanged as v (Horizontal as L,NewVal as N) end function function nativeObject_OversizeChanged(Horizontal,NewVal) return |