Page 1 of 1

Hide some Chart Editor tabs

Posted: Fri Feb 01, 2008 11:28 pm
by 9242178
Hi,

How can I programmatically hide tabs on the chart editors in c++ builder? Is it possible to show and hide any controls on the chart editor such as the help button on dialog? Please give me some examples how to this.

Thanks and Regards
John

Posted: Mon Feb 04, 2008 8:48 am
by narcis
Hi John,

You can hide tabs in the chart editor doing as shown in the All Features\Welcome!\Components\Chart Editor\Chart Editor dialog example in the new features demo, available at TeeChart's program group. About hidding help button, I'm afraid you'll need being a TeeChart Pro sourcecode customer and customize the editor yourself.

Posted: Mon Feb 04, 2008 4:37 pm
by 9242178
Hi,

The code in the demo doen not work at all. Here is what I add in my code:

TChartEditorHiddenTabs NewTabs = TChartEditorHiddenTabs()<< cetTools << cetSeriesData << cetWalls << cet3D << cetSeriesGeneral << cetSeriesMarks;
ChartEditor1->HideTabs += NewTabs;

I still all the tabs after I recompiled and ran this. Do you have suggestions?

Thansk and Regards,
John[/img]

Posted: Mon Feb 11, 2008 9:00 am
by yeray
Hi John,

Sorry for delay. We were doing some tests and we could reproduce it. So, I've included the bug to the wish list to be fixed in future releases. (TV52012807)

By the meanwhile note that you still can do the same with the ChartEditor inspector.