ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2015-01-15 12:12:23

dariex
Member
Registered: 2014-10-20
Posts: 13

Object is currently in use elsewhere.

Hi Jing,

I installed 0.8.8.3 version and got some problems in reogrid editor. When I change fore color of the cell (and sometimes when I just simply move from cell to cell by left or right keys) all of a sudden "Object is currently in use elsewhere." error is thrown.

Here's trace info:
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points, FillMode fillMode)
   at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points)
   at unvell.UIControls.ColorPickerToolStripItem.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.ToolStripItem.HandlePaint(PaintEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   


Thanks in advance,
Ilia

Offline

#2 2015-01-16 00:21:56

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Object is currently in use elsewhere.

Hi Ilia,

Thanks for the information, I will check this problem. Which Windows OS are you using?

Last edited by Jingwood (2015-01-16 01:55:59)

Offline

#3 2015-01-16 06:53:28

dariex
Member
Registered: 2014-10-20
Posts: 13

Re: Object is currently in use elsewhere.

Hi Jing,

Windows 7 Ultimate, Version 6.1 (Build 7601:Service pack 1)

Regards,
Ilia

Offline

#4 2015-01-20 01:57:04

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Object is currently in use elsewhere.

Hi Ilia,

This problem might caused by SelectionRangeChanged event, Editor repeatedly repaint the Foreground-color Picker Control at same time after SelectionRange changed, this will be fixed and released in next version. Thanks.

Regards, Jing

Last edited by Jingwood (2015-01-20 03:33:40)

Offline

Board footer

Powered by FluxBB