Page 1 of 1

TeeChart help integration in CodeGear Studio 2007 not workin

Posted: Tue Apr 29, 2008 7:54 am
by 10548307
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.

Posted: Tue Apr 29, 2008 9:51 am
by narcis
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.

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Posted: Wed Jul 22, 2009 1:05 pm
by 10046493
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

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Posted: Wed Jul 22, 2009 1:18 pm
by narcis
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.

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Posted: Wed Jul 22, 2009 7:30 pm
by 10046493
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

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Posted: Thu Jul 23, 2009 2:04 pm
by yeray
Hi Andrew,

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

Code: Select all

uses WinHelpViewer;

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Posted: Fri Jul 24, 2009 1:04 pm
by 10046493
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

Re: TeeChart help integration in CodeGear Studio 2007 not workin

Posted: Sat Jul 25, 2009 10:33 am
by 10046493
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