I have an application that uses a chart and charteditor. This ChartEditor must be run with some tabs and not with all tabs. I use the property HideTabs of it.
But some tabs doesn't hide and when I select their, happens a error.
Somebody know how resolve it?
Thanks.
Show ChartEditor with some tabs.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ACCL,
Which are the tabs that are not hidden and cause the error? Which TeeChart version are you using?
Thanks in advance.
Which are the tabs that are not hidden and cause the error? Which TeeChart version are you using?
Thanks in advance.
Best Regards,
Narcís Calvet / 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ACCL,
It works fine for me here using v7.07 and this code:
To hide Themes tab you just need to not include TeeThemeEditor unit in your form.
If the problem persists please send us an example we can run "as-is" to reproduce the problem here.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
It works fine for me here using v7.07 and this code:
Code: Select all
Uses TeeEditCha, TeeThemeEditor;
procedure TForm8.Button1Click(Sender: TObject);
begin
ChartEditor1.Execute;
end;
procedure TForm8.CheckBox1Click(Sender: TObject);
Var NewTabs : TChartEditorHiddenTabs;
begin
NewTabs:=[cetTools,cetExport,cetPrintPreview,cetSeriesData];
if CheckBox1.Checked then
ChartEditor1.HideTabs:=ChartEditor1.HideTabs+NewTabs
else
ChartEditor1.HideTabs:=ChartEditor1.HideTabs-NewTabs;
end;
If the problem persists please send us an example we can run "as-is" to reproduce the problem here.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Best Regards,
Narcís Calvet / 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 |
Ok, I'll send a example of it tomorrow, because now I'm very busy.narcis wrote:Hi ACCL,
It works fine for me here using v7.07 and this code:
To hide Themes tab you just need to not include TeeThemeEditor unit in your form.Code: Select all
Uses TeeEditCha, TeeThemeEditor; procedure TForm8.Button1Click(Sender: TObject); begin ChartEditor1.Execute; end; procedure TForm8.CheckBox1Click(Sender: TObject); Var NewTabs : TChartEditorHiddenTabs; begin NewTabs:=[cetTools,cetExport,cetPrintPreview,cetSeriesData]; if CheckBox1.Checked then ChartEditor1.HideTabs:=ChartEditor1.HideTabs+NewTabs else ChartEditor1.HideTabs:=ChartEditor1.HideTabs-NewTabs; end;
If the problem persists please send us an example we can run "as-is" to reproduce the problem here.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Best regards.