Toad World® Forums

Error when closing tabs


#1

I typically have several projects going on and frequently leave the tabs open
that contain the scripts I have run in case there is a problem with something
I’ve done and I need to look back at the code. Sometimes I leave them open for a
day.

Today while going through and closing tabs ToadSS beta didn’t eliminate the tab.
It appears to have destroyed the objects but didn’t refresh the page. When I
hover over the last tab in the list I get an error message. Probably because the
tab appears on the page but doesn’t exist in the internal object list. Here’s
the error message I get.

System.ArgumentOutO fRangeException
Index was out of range. Must be non-negative and less than the size of the
collection.
Parameter name: index
Stack Trace:
at System.Collections. ArrayList. get_Item( Int32 index)
at ActiproSoftware. UIStudio. Dock.TabbedMdiWi ndowCollection. get_Item( Int32
index)
at ActiproSoftware. UIStudio. Dock.TabbedMdiCo ntainer.a( Object A_0,
TabStripPageEventAr gs A_1)
at ActiproSoftware. UIStudio. TabStrip. TabStrip. OnTabStripPageTa
bToolTipDisplayi ng(TabStripPageE ventArgs e)
at ActiproSoftware. UIStudio. TabStrip. TabStrip. OnMouseMove( MouseEventArgs e)

at System.Windows. Forms.Control. WmMouseMove( Message& m)
at System.Windows. Forms.Control. WndProc(Message& m)
at System.Windows. Forms.Scrollable Control.WndProc( Message& m)
at System.Windows. Forms.Control. ControlNativeWin dow.OnMessage( Message& m)
at System.Windows. Forms.Control. ControlNativeWin dow.WndProc( Message& m)
at System.Windows. Forms.NativeWind ow.Callback( IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)