Dynamic scroll and Undo causes exception

Hi,

I have auto scroll enabled. When I drag a node onto my document and drag it to the bottom then the document starts to grow, and the scroll bar gets bigger (or smaller depending on how you look at it). If I do this for a minute of so and then Undo it, I get an exception with the following stack trace:
bij System.Windows.Forms.ScrollBar.set_Value(Int32 value)
bij System.Windows.Forms.ScrollBar.DoScroll(ScrollEventType type)
bij System.Windows.Forms.ScrollBar.WmReflectScroll(Message& m)
bij System.Windows.Forms.ScrollBar.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)

Has anyone else seen this? How do I fix it?
Regards,
Neil.

I’m 98% sure that 4.1 fixes this.



beta kits here