Page 1 of 1

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

Posted: Sun Feb 05, 2006 11:57 am
by 9081583
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

Posted: Mon Feb 06, 2006 9:08 am
by narcis
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.