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

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Suma
Newbie
Newbie
Posts: 11
Joined: Fri Nov 15, 2002 12:00 am
Location: Bellevue, WA
Contact:

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

Post by Suma » Tue Jul 13, 2004 10:21 pm

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.

Pep
Site Admin
Site Admin
Posts: 3277
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Jul 13, 2004 11:03 pm

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.

Pep
Site Admin
Site Admin
Posts: 3277
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Jul 13, 2004 11:10 pm

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.

Suma
Newbie
Newbie
Posts: 11
Joined: Fri Nov 15, 2002 12:00 am
Location: Bellevue, WA
Contact:

Post by Suma » Mon Jul 19, 2004 9:50 pm

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.

Suma
Newbie
Newbie
Posts: 11
Joined: Fri Nov 15, 2002 12:00 am
Location: Bellevue, WA
Contact:

Post by Suma » Fri Jul 23, 2004 6:07 pm

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.

Pep
Site Admin
Site Admin
Posts: 3277
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jul 26, 2004 9:31 am

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.

Post Reply