User (Legacy) 2 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) Quote Link to post Share on other sites
Software FX 0 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.