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
hiding tabs in teechart editor (v6) for VC++
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi smiler,
You can use:
And include TeeEditorShowPages.h to your project.
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);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |