Chaging Titles of Teechart Forms
-
- Newbie
- Posts: 10
- Joined: Tue Jul 02, 2013 12:00 am
Chaging Titles of Teechart Forms
Hello team,
Similar to that of the Chart Editor, are we able to change titles of the series gallery form and export form? - Screenshots attached. If we can, what is the approach? Please suggest.
Thanks in advance
Kind regards
Khaled
Similar to that of the Chart Editor, are we able to change titles of the series gallery form and export form? - Screenshots attached. If we can, what is the approach? Please suggest.
Thanks in advance
Kind regards
Khaled
- Attachments
-
- Export
- ss2.PNG (10.39 KiB) Viewed 13411 times
-
- Series Gallery
- ss1.PNG (24.93 KiB) Viewed 13369 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Chaging Titles of Teechart Forms
Hello Khaled,
Yes, I think there's an example of what you're looking for in the Feature demo under:
%ProgramFiles(x86)%\Steema Software\Steema TeeChart for .NET 2015 4.1.2015.08060\Examples\DemoProject\bin\ExecutableDemo\TeeChartNetExamples.exe
in:
All Features -> Welcome !\Components\ChartController\ChartController Editor
Yes, I think there's an example of what you're looking for in the Feature demo under:
%ProgramFiles(x86)%\Steema Software\Steema TeeChart for .NET 2015 4.1.2015.08060\Examples\DemoProject\bin\ExecutableDemo\TeeChartNetExamples.exe
in:
All Features -> Welcome !\Components\ChartController\ChartController Editor
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 |
-
- Newbie
- Posts: 10
- Joined: Tue Jul 02, 2013 12:00 am
Re: Chaging Titles of Teechart Forms
Hi Christopher,
Thanks for replying.
I've seen the examples. We're currently not subscribed for 100% source code (planning to move).
I was just wondering is it doable from our application at runtime without having teechart source?
Regards
Khaled
Thanks for replying.
I've seen the examples. We're currently not subscribed for 100% source code (planning to move).
I was just wondering is it doable from our application at runtime without having teechart source?
Regards
Khaled
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Chaging Titles of Teechart Forms
Hello Khaled,
Yes, you do not need the TeeChart source code to implement this functionality. The examples I pointed you to do not use the TeeChart source code but only the TeeChart assembly (*.dll).Seveno Developer wrote: I've seen the examples. We're currently not subscribed for 100% source code (planning to move).
I was just wondering is it doable from our application at runtime without having teechart source?
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 |
-
- Newbie
- Posts: 10
- Joined: Tue Jul 02, 2013 12:00 am
Re: Chaging Titles of Teechart Forms
Hi Christopher,
Sorry but I am not being able to get which part of the code in the example sets the title of my Desired Forms?
As I already have mentioned, I am able to set the title of the editor, Hide and display tabs under the editor but my aim is to change title "Tee Chart Gallery" and "Tee Chart Export" (As Attached Screenshots in the first comment).
Could you please specify
Thanks and regards
Khaled
Sorry but I am not being able to get which part of the code in the example sets the title of my Desired Forms?
As I already have mentioned, I am able to set the title of the editor, Hide and display tabs under the editor but my aim is to change title "Tee Chart Gallery" and "Tee Chart Export" (As Attached Screenshots in the first comment).
Could you please specify
Thanks and regards
Khaled
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Chaging Titles of Teechart Forms
Hello Khaled,
The example I mentioned gives you something like this: So, using the following code:
will give you this:
Of course you can instantiate each form "manually" like this:
which gives:
The example I mentioned gives you something like this: So, using the following code:
Code: Select all
Editor editor1;
private void InitializeChart()
{
editor1 = new Editor(tChart1);
editor1.DefaultTab = Steema.TeeChart.Editors.ChartEditorTabs.Export;
editor1.Title = "Insert your Custom Title here";
}
private void button4_Click(object sender, EventArgs e)
{
editor1.ShowModal();
}
Code: Select all
private void button4_Click(object sender, EventArgs e)
{
Steema.TeeChart.Editors.Export.ExportEditor form = new Steema.TeeChart.Editors.Export.ExportEditor(tChart1.Chart);
form.Text = "My Title";
form.ShowDialog();
}
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 |
-
- Newbie
- Posts: 10
- Joined: Tue Jul 02, 2013 12:00 am
Re: Chaging Titles of Teechart Forms
Hi Christopher,
We can instantiate the context forms but how do we handle the event when it is accessed from the chart editor?
Our users are able to change series type or add a new series from the chart editor.
As an example, please follow these steps:
1. From chart editor, click on Series Tab
2. Click on Add tab
3. Form opens with title "Tee Chart Gallery"
(Screenshot attached)
Thanks and regards
Khaled
We can instantiate the context forms but how do we handle the event when it is accessed from the chart editor?
Our users are able to change series type or add a new series from the chart editor.
As an example, please follow these steps:
1. From chart editor, click on Series Tab
2. Click on Add tab
3. Form opens with title "Tee Chart Gallery"
(Screenshot attached)
Thanks and regards
Khaled
- Attachments
-
- sshot1.PNG (37.97 KiB) Viewed 13292 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Chaging Titles of Teechart Forms
Hello Khaled,
In your first post to this thread you posted two attachments, one of the Export Editor and one of the TeeChart Gallery. I trust that you now see that the case of the Export Editor has been resolved by the code I've sent you. The case of the TeeChart Gallery is different - unfortunately, as you correctly say, the only way to change the text on this dialogue is using the source code.
In your first post to this thread you posted two attachments, one of the Export Editor and one of the TeeChart Gallery. I trust that you now see that the case of the Export Editor has been resolved by the code I've sent you. The case of the TeeChart Gallery is different - unfortunately, as you correctly say, the only way to change the text on this dialogue is using the source code.
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 |
-
- Newbie
- Posts: 10
- Joined: Tue Jul 02, 2013 12:00 am
Re: Chaging Titles of Teechart Forms
Hi Christopher,
You're correct. We were able to change the export's title using the code for instantiating it outside the chart editor.
Only one that we're left with is the gallery. However, we're thinking of upgrading our subscription which, I believe, will solve our problem.
Thanks heaps for your help once again!
Regards
Khaled
You're correct. We were able to change the export's title using the code for instantiating it outside the chart editor.
Only one that we're left with is the gallery. However, we're thinking of upgrading our subscription which, I believe, will solve our problem.
Thanks heaps for your help once again!
Regards
Khaled