PDA

View Full Version : Right click error



Zane
06-06-2007, 07:13 AM
Ok to get this error all you have to do is make a standard sequence without using a wizard and right click in the blank channel area.

This is the beginning of the error I get.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at StandardSequence.StandardSequence.ChannelClickVali d()
at StandardSequence.StandardSequence.contextMenuChann els_Opening(Object sender, CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.OnOpening(C ancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleC ore(Boolean visible)
at System.Windows.Forms.ContextMenuStrip.SetVisibleCo re(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Contro l control, Point position)
at System.Windows.Forms.ContextMenuStrip.ShowInternal (Control source, Point location, Boolean isKeyboardActivated)
at System.Windows.Forms.Control.WmContextMenu(Message& m, Control sourceControl)
at System.Windows.Forms.Control.WmContextMenu(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

***************
Shouldn't be too hard to fix.

KC
06-06-2007, 11:31 AM
Got it, thanks.