TeeChart help integration in CodeGear Studio 2007 not workin

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
rct
Newbie
Newbie
Posts: 1
Joined: Mon Feb 11, 2008 12:00 am

TeeChart help integration in CodeGear Studio 2007 not workin

Post by rct » Tue Apr 29, 2008 7:54 am

I am using CodeGear™ C++Builder® 2007 R2 Version 11.0.2902.10471 and TeeChart Pro 8.02 VCL version.

I have not managed to install the TChart help system into the CodeGear
IDE environment. So pressing F1 does not manage to find help on TChart for example.

Please assist.

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

Post by Narcís » Tue Apr 29, 2008 9:51 am

Hi rct,

This is most likely because TeeChart help can't be integrated in RAD Studio 2007. This is because in BDS the traditional .hlp help file system was changed to HTML help and Borland/CodeGear never published how to integrate .hlp files into BDS, only a non-working unit (WinHelpViewer) was created for that. Using this unit crashed BDS 2006 help system and we had to remove the mentioned unit.

We plan to have HTML help available in the future. In the meantime you'll have to use the help file manually.
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

Geocentrix
Newbie
Newbie
Posts: 8
Joined: Mon Aug 20, 2007 12:00 am

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Post by Geocentrix » Wed Jul 22, 2009 1:05 pm

Narcis

Thanks for the quick response.

I am not so bothered about having to access the Help file manually myself, but I don't want our end-users to get the error message when they click on the Help button. Is there any way to:
  1. Hide the button in the run-time TChartEditor?
  2. Override the on-click handler for the button? (I know how to open an HLP file in code)
  3. Provide a different help file to substitute for the one that is supposed to be opened?
I'm hoping at least one of the above is possible ... otherwise, how long until one of them is? (This problem appears to date back to BDS2006!)

Andrew

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

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Post by Narcís » Wed Jul 22, 2009 1:18 pm

Hi Andrew,

Yes, option 3 is possible. You'll find necessary information and resources for this at the Docs\Runtime Editor help source folder in TeeChar'ts installation.

Options 1 and 2 are possible if you are a sourcecode customer and customize chart editor to fit your needs.
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

Geocentrix
Newbie
Newbie
Posts: 8
Joined: Mon Aug 20, 2007 12:00 am

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Post by Geocentrix » Wed Jul 22, 2009 7:30 pm

Narcis

I cannot get Option 3 to work. The info at 'Docs\Runtime Editor help source' in TeeChart's installation explains how to point the Help button's event handler to a particular file (at least I presume it does), but I just get the message "No context-sensitive help installed" whenever I click the Help button in the TChartEditor **at run-time** regardless of where/what the file is.

This is a bug that ought to have been fixed by now, if it was known way back in 2006. It is not something end-users should see.

Surely adding the simple facility to hide the Help button could be added for non-source code customers?

Andrew

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Post by Yeray » Thu Jul 23, 2009 2:04 pm

Hi Andrew,

Adding the unit WinHelpViewer the problem seems to be solved here. Could you please try it?

Code: Select all

uses WinHelpViewer;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Geocentrix
Newbie
Newbie
Posts: 8
Joined: Mon Aug 20, 2007 12:00 am

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Post by Geocentrix » Fri Jul 24, 2009 1:04 pm

Narcis

Thanks - that worked (suitably modified for C++Builder).

A final question - where does the Help button handler look for the Help file if the 'TEEUSER8.HLP' key is missing from the registry? Does it look in the directory that TeeUI8111.bpl is located in? If not, where?

Andrew

Geocentrix
Newbie
Newbie
Posts: 8
Joined: Mon Aug 20, 2007 12:00 am

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Post by Geocentrix » Sat Jul 25, 2009 10:33 am

No need to answer my last question - WinHelp looks for the HLP file in the same folder as the TeeChart dll (unless told otherwise in Windows Registry).

Thanks for all your help Narcis - problem is now solved.

Andrew

Post Reply