Accessing the Help button on TChartEditor.

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
nile
Newbie
Newbie
Posts: 25
Joined: Tue Jan 20, 2009 12:00 am
Location: Auckland
Contact:

Accessing the Help button on TChartEditor.

Post by nile » 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
To be or not to be. This is not the question. Rather it is a choice.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 22, 2009 8:57 am

Hi nile,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply