I don't see any examples that use chartWindow.MainTabControl.SelectionChanged events to remove items from the UserControlCollection.
I read the user guide and I know I have to remove control items on OnState == State.Terminated but if my indicator remains on the chart but the tab is changed I don't see any procedures written in the user guide or in any examples.
Also, one other question is that I want to add multiple indicators all using the UserControlCollection and so one indicator would be left aligned while another different indicator would be right aligned. I've written the code and it seems to be working but I want to make sure that I'm doing something that is allowed and won't turn into broken software later.
regards

Comment