hiding tabs in teechart editor (v6) for VC++

TeeChart for ActiveX, COM and ASP
Post Reply
smiler
Newbie
Newbie
Posts: 1
Joined: Tue Mar 23, 2004 5:00 am

hiding tabs in teechart editor (v6) for VC++

Post by smiler » Sun Feb 05, 2006 11:57 am

Hi,

Is there a way I can hide the tabs/pages within the chart editor for VC++.

In the CTeeeditor class there are get_showpages and get_options but no put_ equivalents, which leaves put_defaultpage as the only way of tailoring things. While this displays the selected page; all the other tabs are visible. Not very neat when you are trying to use mouse events to add editing functionality to graphs.

Any suggestions appreciated

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

Post by Narcís » Mon Feb 06, 2006 9:08 am

Hi smiler,

You can use:

Code: Select all

		m_editor1.GetShowPages().SetAspect(false);
		m_editor1.GetShowPages().SetAxis(false);
		m_editor1.GetShowPages().SetExportDialog(false);
		m_editor1.GetShowPages().SetGeneral(false);
		m_editor1.GetShowPages().SetLegend(false);
		m_editor1.GetShowPages().SetMain(false);
		m_editor1.GetShowPages().SetOpenGL(false);
		m_editor1.GetShowPages().SetPaging(false);
		m_editor1.GetShowPages().SetPanel(false);
		m_editor1.GetShowPages().SetPrintPreview(false);
		m_editor1.GetShowPages().SetSeriesData(false);
		m_editor1.GetShowPages().SetSeriesGeneral(false);
		m_editor1.GetShowPages().SetSeriesMarks(false);
		//m_editor1.GetShowPages().SetThemes(false);
		m_editor1.GetShowPages().SetTitles(false);
		m_editor1.GetShowPages().SetTools(false);
		m_editor1.GetShowPages().SetWalls(false);
And include TeeEditorShowPages.h to your project.
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

Post Reply