Version: "9.0/LGPL Development Only"
Browser: Chrome & IE 9
Hi
I have an application that makes several ToolStrips and adds a DynamicForm to them, as described in the documentation.
Occasionally, after a ToolStrip has been created and then destroyed (by closing the window it is on), subsequent creation of a ToolStrip fails at line 140 of CanvasItem.js because this.canvasItem is undefined.
I have been able to work around this by altering line 140 to test for this.canvasItem being defined, but it does not explain what is causing the problem.
I think that the code that is trying to locate the last created item so as to determine the next Tab position is picking up a partially destroyed item from the previous ToolStrip. Unfortunately, I cannot provide an example as the bug is intermittent. It did not occur in SC 8.x
Any ideas as to what is causing this?
Andy
Browser: Chrome & IE 9
Hi
I have an application that makes several ToolStrips and adds a DynamicForm to them, as described in the documentation.
Occasionally, after a ToolStrip has been created and then destroyed (by closing the window it is on), subsequent creation of a ToolStrip fails at line 140 of CanvasItem.js because this.canvasItem is undefined.
I have been able to work around this by altering line 140 to test for this.canvasItem being defined, but it does not explain what is causing the problem.
I think that the code that is trying to locate the last created item so as to determine the next Tab position is picking up a partially destroyed item from the previous ToolStrip. Unfortunately, I cannot provide an example as the bug is intermittent. It did not occur in SC 8.x
Any ideas as to what is causing this?
Andy
Comment