Page 1 of 1

Accessing the Help button on TChartEditor.

Posted: Wed Jan 21, 2009 9:26 pm
by 10551545
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

Posted: Thu Jan 22, 2009 8:57 am
by narcis
Hi nile,

This can only be achieved customizing button’s event implementation in TeeChart sources.