User (Legacy) Posted September 2, 2002 Report Share Posted September 2, 2002 To get the following exception: 1. create a form 2. drop a contextMenu onto the form - add two items to the contextmenu (any two) 3. drop a chart on, and set the following: dock = fill Toolbar = true ContextMenus = false ContextMenu = contextMenu1 (or whatever you called your context menu) 4. build the solution. 5. run the solution. 6. goto the toolbar, and right-click, this will raise the context menu. 7. move the mouse off of the context menu, along the toolbar, with the context-menu still showing. click on a toolbar item. Example project included. System.IndexOutOfRangeException: Index was outside the bounds of the array. at SoftwareFX.ChartFX.Base.ToolBar.19(MouseButton AF, Int32 AG, Int32 AH, Int32 AI, Int32 AJ) at SoftwareFX.ChartFX.G.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Link to comment Share on other sites More sharing options...
Software FX Posted September 3, 2002 Report Share Posted September 3, 2002 This problem has been fixed, the fix will be included in the next service pack. -- Regards, JC Software FX Support "Jason DeBettencourt" <jasond@yahoo.com> wrote in message news:H2RO5ivUCHA.3104@webserver1.softwarefx.com... > To get the following exception: > > 1. create a form > 2. drop a contextMenu onto the form > - add two items to the contextmenu (any two) > 3. drop a chart on, and set the following: > dock = fill > Toolbar = true > ContextMenus = false > ContextMenu = contextMenu1 (or whatever you called your context menu) > 4. build the solution. > 5. run the solution. > 6. goto the toolbar, and right-click, this will raise the context menu. > 7. move the mouse off of the context menu, along the toolbar, with the > context-menu still showing. click on a toolbar item. > > Example project included. > > > System.IndexOutOfRangeException: Index was outside the bounds of the array. > at SoftwareFX.ChartFX.Base.ToolBar.19(MouseButton AF, Int32 AG, Int32 AH, > Int32 AI, Int32 AJ) > at SoftwareFX.ChartFX.G.OnMouseUp(MouseEventArgs e) > at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons > button, > Int32 clicks) > at System.Windows.Forms.Control.WndProc(Message& m) > at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, > IntPtr > wparam, IntPtr lparam) > > > > > example.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.