Community
Showing results for 
Search instead for 
Do you mean 
Reply

Custom Tab Error

Nickel Super Contributor
Posts: 441
Country: UK

Custom Tab Error

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
Nickel Super Contributor
Posts: 441
Country: UK

Re: Custom Tab Error

OK my bad... found an error in my code Smiley Happy
Copper Contributor
Posts: 98
Country: United States

Re: Custom Tab Error

Glad we could help!
 
Carlton Jones
Sage Software