When I create a custom tab and add it to the layout it displays correctly. If I click View -> Refresh or call RefreshLoadedViews I get the message index was out of range, must be non negative.....
I had the same problem when the layout was changed but adding a tab.dispose event to the layout changing event sorted the problem. Is there a way to handle before refresh or have I missed something here.....
TIA
Tom