Page 1 of 1

TeeEditor showpages

Posted: Thu Mar 15, 2007 6:04 pm
by 9532498
Using Visual C++ 6.0 and TeeChart ActiveX version 7, I have the following code:

mChart = new CTChart();

mChart.ShowEditor(-1).

This works fine. I need to figure out how to show only certain pages..e.g. I only want to show the Axes Tab.... how do I do this?

Posted: Fri Mar 16, 2007 4:53 pm
by narcis
Hi nbp,

You can do as shown in the All Features\Welcome!\Components\Chart Editor\Chart Editor dialog example in the features demo.

You'll find the demo at TeeChart's program group.

Posted: Thu Mar 29, 2007 10:35 pm
by 9532498
With the ActiveX version, I want to hide the General page, I tried the following:

CTeeEditor* pEditor = new CTeeEditor();
pEditor->Create(......)

pEditor->SetChartLink(mChart1);
pEditor->GetShowPages().GetGeneral() = .......

but I can't assign a true/false value to this... how do I proceed?

Posted: Wed Apr 04, 2007 7:15 am
by Pep
Hi,

you have to do :
m_editor.GetShowPages().SetGeneral(false);
m_editor.SetChartLink(m_chart1.GetChartLink());