what are the consequences of taking out the _windowHandler_FocusChanged?

Jul 12, 2012 at 10:35 PM

This method was causing me some serious issues with selecting LayoutDocumentPaneGroup tabs (LayoutDocument).

 

So I commented out all the content in that method and it fixed my issues. Any ideas why this is?

 

All 3 of my layout documents were winformhost controls inside of a LayoutDocumentPane, which was layered inside a LayoutDocumentPaneGroup.

 

Line 213 (of file FocusElementManager.cs) seemed to be causing the issue:

 parentDocument.Model.IsActive = true;

Because sometimes the IsActive was already set to true, and everything went to crap from there.