
Good afternoon,
I've begun development on a sort of in-house IDE that makes use of the Actipro Docking / MDI assembly and have run into a puzzling exception. The IDE's editor windows inherit from DocumentWindow and each contain a SyntaxEditor control.
To get the exception to be thrown, I create an instance of ScriptDocumentWindow (which inherits from DocumentWindow), associate it with my DockSite, and activate it. The tabbed document window shows up with its SyntaxEditor and everything works great. I then close the document window and open a new one, following the same creation process. It, too, shows up properly; however, if I try to modify the content of the second document window's syntax editor, I get the following exception:
The specified Visual is not a descendant of this Visual.
I'm stumped. I've done as much digging as I can and have yet to find anything indicative of the root cause. Any help you can offer is appreciated.
Thanks,
Evan
I've begun development on a sort of in-house IDE that makes use of the Actipro Docking / MDI assembly and have run into a puzzling exception. The IDE's editor windows inherit from DocumentWindow and each contain a SyntaxEditor control.
To get the exception to be thrown, I create an instance of ScriptDocumentWindow (which inherits from DocumentWindow), associate it with my DockSite, and activate it. The tabbed document window shows up with its SyntaxEditor and everything works great. I then close the document window and open a new one, following the same creation process. It, too, shows up properly; however, if I try to modify the content of the second document window's syntax editor, I get the following exception:
The specified Visual is not a descendant of this Visual.
I'm stumped. I've done as much digging as I can and have yet to find anything indicative of the root cause. Any help you can offer is appreciated.
Thanks,
Evan