Using the exact indicator Matthew provided in post #21
Open a new workspace..
Create a new Chart..
Add or Duplicate another tab/chart
You should now have a single window with 2 charts/tabs (it doesn't matter what instrument or dataseries are applied to the charts)
Add the indicator to your 2nd tabbed chart.. (The button appears, click events work, and all is well!)
Now click on the first tabbed chart.. (the button is collapsed thru the use of the MainTabControl.SelectionChanged event as expected and all is still well).. So far, Clicking back and forth between the two chart/tabs works great!
Now here is the problem..
Click on the first tabbed chart..
Close NT8 and save the workspace..
Now Re-Open NT8..
You'll now notice that the button appears on the 1st tabbed chart, even though it is only applied to the 2nd.. It will actually be displayed on every chart if you had more..
Once you click on the second tab and back to first again, it is gone, and everythings ok again, but the selectionchanged event doesn't catch this the first time the workspace is opened..
Any idea's on how we can get around this issue?
Comment