When the user pushes the help button on TChartEditor, i want them to go to our own html documentation. For this i need something like:
void __fastcall TChartsNew::TeeCommander1EditedChart(TTeeCommander *Sender,TCustomChart *AChart){
TButton* b = dynamic_cast <TButton *>(ChartEditor1->FindComponent("??"));
b->OnClick = MyOnClickEvent;
ChartEditor1->Execute();
}
Would this work, and what is the name and class of the button so FindComponent can access it?
thanks, nsm
Accessing the Help button on TChartEditor.
Accessing the Help button on TChartEditor.
To be or not to be. This is not the question. Rather it is a choice.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi nile,
This can only be achieved customizing button’s event implementation in TeeChart sources.
This can only be achieved customizing button’s event implementation in TeeChart sources.
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 |