Occurs when the right range of the scroll has been changed.
Type | Description | |||
Horizontal as Boolean | A boolean expression that indicates whether the horizontal scroll bar has changed. | |||
NewVal as Long | A long value that indicates the new scroll bar value. |
If the control has no scroll bars the OffsetChanged and OversizeChanged events are not fired. When the scroll bar range is changed the OversizeChanged event is fired. Use the ScrollBars property of the control to determine which scroll bars are visible within the control. The control fires the LayoutChanged event when the user resizes a column, or change its position.
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, AxEXGANTTLib._IGanttEvents_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: AxEXGANTTLib._IGanttEvents_OversizeChangedEvent); begin end; begin event OversizeChanged(boolean Horizontal,long NewVal) end event OversizeChanged Private Sub OversizeChanged(ByVal sender As System.Object, ByVal e As AxEXGANTTLib._IGanttEvents_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(oGantt,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 |