Hide tabs
Posted: Wed Aug 31, 2005 1:12 am
I want to hide some of the tabs in the Tchart Editor. I'm using the following code
Some of these tabs hide ok, such as the Page and Print however the SeriesDataSource tab remains as does the Main tab, I'm assuming the main tab is the one that allows users to add series etc.
I'm using build 2.0.2040.15119
Code: Select all
Dim tcEHiddenTabs(6) As Steema.TeeChart.Editors.ChartEditorTabs
tcEHiddenTabs(0) = Steema.TeeChart.Editors.ChartEditorTabs.General
tcEHiddenTabs(1) = Steema.TeeChart.Editors.ChartEditorTabs.Page
tcEHiddenTabs(2) = Steema.TeeChart.Editors.ChartEditorTabs.Print
tcEHiddenTabs(3) = Steema.TeeChart.Editors.ChartEditorTabs.SeriesDataSource
tcEHiddenTabs(4) = Steema.TeeChart.Editors.ChartEditorTabs.Tools
tcEHiddenTabs(5) = Steema.TeeChart.Editors.ChartEditorTabs.Main
tcE.HideTabs = tcEHiddenTabs
I'm using build 2.0.2040.15119