Hello,
I'm uing VS2010 C#.
I'd like to set the dialog such that the "Print" tab is selected when it loads.
Steema.TeeChart.Editors.ChartEditorTabs.Print is the Tabs function, but I don't know how to set(select) the Print tab.
Can anyone help?
ChartEditorTabs
Re: ChartEditorTabs
Hello tirby,
I recommend you do something as next code where I have used DefaultTab to assign the tab I want appear first.
Can you tell us if previous code works as you want?
I hope will helps.
Thanks,
I recommend you do something as next code where I have used DefaultTab to assign the tab I want appear first.
Code: Select all
Steema.TeeChart.Editor editor1;
private void InitializeChart()
{
Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line.FillSampleValues();
editor1 = new Editor(tChart1);
}
private void button2_Click(object sender, EventArgs e)
{
editor1.DefaultTab = Steema.TeeChart.Editors.ChartEditorTabs.Print;
editor1.ShowModal();
}
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / 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: ChartEditorTabs
Thank You Sandra!
This works perfect!
This works perfect!