Accessing the Help button on TChartEditor.
Posted: Wed Jan 21, 2009 9:26 pm
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
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