I can hide every main tab in Steema::TeeChart::Editor except the one called "Chart" using the Steema::TeeChart::Editors::ChartEditorTabs enum. But "Chart" is not one of the enum values. How do I hide the "Chart" tab?
Thanks,
Matt
Hide "Chart" tab in editor
Hide "Chart" tab in editor
Matt Garrett
CRTech
Boulder, Colorado, USA
CRTech
Boulder, Colorado, USA
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Hide "Chart" tab in editor
Hello Matt,
I think the enum you're looking for is "ChartEditorTabs.Main", e.g.MattG wrote:I can hide every main tab in Steema::TeeChart::Editor except the one called "Chart" using the Steema::TeeChart::Editors::ChartEditorTabs enum. But "Chart" is not one of the enum values. How do I hide the "Chart" tab?
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
Editor editor = new Editor(tChart1);
editor.HideTabs = new ChartEditorTabs[] { ChartEditorTabs.Animations, ChartEditorTabs.Aspect, ChartEditorTabs.Axes,
ChartEditorTabs.Data, ChartEditorTabs.Export, ChartEditorTabs.General,
ChartEditorTabs.Legend, /*ChartEditorTabs.Main,*/ ChartEditorTabs.Page,
ChartEditorTabs.Panel, ChartEditorTabs.Print, ChartEditorTabs.Series,
ChartEditorTabs.SeriesDataSource, ChartEditorTabs.SeriesList, ChartEditorTabs.Themes,
ChartEditorTabs.Titles, ChartEditorTabs.Tools, ChartEditorTabs.Walls };
editor.ShowModal();
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Hide "Chart" tab in editor
Thanks Christopher, Main worked to hide Chart. I thought I tried that one previously, but I guess not.
Matt Garrett
CRTech
Boulder, Colorado, USA
CRTech
Boulder, Colorado, USA