Page 1 of 1

How to hide Series -> Style tab on chart editor?

Posted: Tue Jul 13, 2004 10:21 pm
by 5889868
I want to programmatically hide Series -> Styles tab on the chart editor. Please help.

Also is there a way i can look at only my postings on this newsgroup? Becuase i had posted this question, i think, sometime back and did not know a quick way to find the message apart from going through many search results.

Thanks.

Posted: Tue Jul 13, 2004 11:03 pm
by Pep
Hi
I want to programmatically hide Series -> Styles tab on the chart editor. Please help.
I cannot see this Tab ("Styles" under Series, I can see "General" or "Format",...), which one do you refer ?
Also, to hide some Editor tabs via code you must use similar code to the following :

Code: Select all

procedure TChartEditorForm.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;
Please see all the Tabs (and Tabs name) you can hide in the Help file.

Posted: Tue Jul 13, 2004 11:10 pm
by Pep
Also is there a way i can look at only my postings on this newsgroup? Becuase i had posted this question, i think, sometime back and did not know a quick way to find the message apart from going through many search results.
I think the better way for the moment is using the Search by words.

Posted: Mon Jul 19, 2004 9:50 pm
by 5889868
The one i want to hide is Series -> Stack tab. But in the hidetabs set i only see 'cetAllSeries' which will hide the whole Series tab on the editor, which is not what i want.

PS: Sorry about earlier message where i typed Styles instead of Stack.

Posted: Fri Jul 23, 2004 6:07 pm
by 5889868
The only tabs that i can hide are the following according to help:
cetMain, cetGeneral, cetAxis, cetTitles, cetLegend, cetPanel, cetPaging, cetWalls,
cet3D, cetSeriesGeneral, cetSeriesMarks, cetAllSeries, cetSeriesData, cetExport, cetTools, cetPrintPreview

so on Series tab, only ( General, Marks, Data ) sub tabs could be hid or else have to hide the whole series tab.

Is there a way to just hide Series -> Stack tab?

Thanks in advance for the reply.
- Suma.

Posted: Mon Jul 26, 2004 9:31 am
by Pep
Hi Suma,
Is there a way to just hide Series -> Stack tab?
Yes, it's a way, but it seems that does not work fine. I'm investigating it. I'll back with results as soon as possible.