TeeEditor showpages

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

TeeEditor showpages

Post by nbp » Thu Mar 15, 2007 6:04 pm

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Mar 16, 2007 4:53 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Post by nbp » Thu Mar 29, 2007 10:35 pm

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?

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

Post by Pep » Wed Apr 04, 2007 7:15 am

Hi,

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

Post Reply