- Messages
- 34,981
- Country

Roby has sent this exception:
Don
I have had a similar exception which I just managed to repeat:
I did this by opening the editor and resizing it. I then used the mouse wheel to zoom the Editor display. The exception occurred as the horizontal appeared
Code:
System.ArgumentOutOfRangeException: Waarde van -8 is niet geldig voor LargeChange. LargeChange moet groter dan of gelijk aan 0 zijn.
Parameternaam: LargeChange
bij System.Windows.Forms.ScrollBar.set_LargeChange(Int32 value)
bij ADE_GroundPolys.GPEditor.CalcScrollBars()
bij ADE_GroundPolys.GPEditor.ResizeDialog()
bij ADE_GroundPolys.GPEditor.Mybase_Resize(Object sender, EventArgs e)
bij System.Windows.Forms.Control.OnResize(EventArgs e)
bij System.Windows.Forms.Form.OnResize(EventArgs e)
bij System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
bij System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
bij System.Windows.Forms.Control.UpdateBounds()
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
bij System.Windows.Forms.Form.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Don
I have had a similar exception which I just managed to repeat:
Code:
System.ArgumentOutOfRangeException: Value of '1' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value
at System.Windows.Forms.ScrollBar.set_Value(Int32 value)
at ADE_GroundPolys.GPEditor.CalcScrollBars()
at ADE_GroundPolys.GPEditor.Zoom(Boolean bZoomIn, Single nChange)
at ADE_GroundPolys.GPEditor.pbData_MouseWheel(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseWheel(MouseEventArgs e)
at System.Windows.Forms.ScrollableControl.OnMouseWheel(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseWheel(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I did this by opening the editor and resizing it. I then used the mouse wheel to zoom the Editor display. The exception occurred as the horizontal appeared







