Help button in Chart Editor
Posted: Wed Sep 01, 2010 1:35 am
Hi
How can i hide the 'help' button in the charteditor? With following code, I get a export dialog that has 'Help' button. It popsup Teechart help and is not what we would like our users to see. How can we turn off this button.
the code is as follows:
Also, when i remove Steema.TeeChart.Editors.ChartEditorTabs.Main from the list, it gives the user to add and delete series from the General tab. Can I remove these two buttons (add series and remove series) from the display of Main window. I like everything else, but don't want my users to tinker with series outside the control of my code.
Thanks for the help.
How can i hide the 'help' button in the charteditor? With following code, I get a export dialog that has 'Help' button. It popsup Teechart help and is not what we would like our users to see. How can we turn off this button.
the code is as follows:
Code: Select all
Dim editor1 As New Steema.TeeChart.Editor
editor1.Chart = HighlightedGraphPanel
editor1.HighLightTabs = True
editor1.HideTabs = New Steema.TeeChart.Editors.ChartEditorTabs() { _
Steema.TeeChart.Editors.ChartEditorTabs.Legend, _
Steema.TeeChart.Editors.ChartEditorTabs.Data, _
Steema.TeeChart.Editors.ChartEditorTabs.Page, _
Steema.TeeChart.Editors.ChartEditorTabs.Series, _
Steema.TeeChart.Editors.ChartEditorTabs.SeriesDataSource, _
Steema.TeeChart.Editors.ChartEditorTabs.Tools, _
Steema.TeeChart.Editors.ChartEditorTabs.Themes, _
Steema.TeeChart.Editors.ChartEditorTabs.Axes, _
Steema.TeeChart.Editors.ChartEditorTabs.Main, _
Steema.TeeChart.Editors.ChartEditorTabs.Print} '
editor1.Title = "Graph Display Export Wizard"
editor1.DefaultTab = Steema.TeeChart.Editors.ChartEditorTabs.Export
editor1.ShowModal()
Thanks for the help.