🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.documentation
Article #232

Re: Help & Manual issue in Delphi 2006

#232
From: Semone
Date: Wed, 05 Dec 2007 19:20
42 lines
2566 bytes
Alexander Halser wrote:

> I'm a bit late to the party but I don't read this newsgroup
> regularily... So if this topic is still vacant, here are some hints:
> 
> 1. I think you simply missed to include the help viewer unit in your
> main form. Make sure that you have included "WinHelpViewer" in the
> uses clause of your main unit.
> 
> 2. Assign application.Helpfile at runtime, not at design time. For
> instance in the FormCreate event of your main form. Specify the help
> file with a fully qualified path, e.g.:
> 
>   application.Helpfile := changefileext(application.exename, '.hlp');
> 
> 3. Application.HelpContext(1) does invoke the HLP file by help
> context numbers and, because it is a Winhelp file, it displays the
> help topic in the main help window. Help context number "1" must be
> defined in the help file. In Help & Manual, every topic has a
> separate entry field for one or more context numbers. The "topic ID"
> is not a help context number, even if you name the topic "1".
> Application.HelpContext will fail unless you have defined
> corresponding context numbers in the help file. Make sure that this
> is the case (you need the HMX source to check it, the HLP file is a
> black box).
> 
> 4. I recommend to use HTML Help (.chm) instead of Winhelp, too. Help
> & Manual creates HTML Help as well and the functionality is mostly
> the same or better. If you use CHM files, include the unit
> "HtmlHelpViewer" in (1) and remove "WinHelpViewer".
> 
> Let me know if you need any additional help. To contact me directly,
> please write to firstname.lastname@ec-software.com (replace email
> appropriately).



no you are not to late, I got pulled to another project. I appreciate
your help and I am e-mailing you from idealss address with more
questions and concerns.

-- 
Technical Details
Message-ID: <475707f0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4730a023$1@newsgroups.borland.com> <4749fc7e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10a202,7a491fbf5df8c1d2
X-Google-Attributes: gid10a202,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Semone" <semonemcalpine@idealss.com>
Subject: Re: Help & Manual issue in Delphi 2006
Newsgroups: borland.public.delphi.documentation
References: <4730a023$1@newsgroups.borland.com> <4749fc7e$1@newsgroups.borland.com>
User-Agent: XanaNews/1.17.6.6
NNTP-Posting-Host: 66.0.171.194
Message-ID: <475707f0$1@newsgroups.borland.com>
Date: 5 Dec 2007 12:20:00 -0700
X-Trace: newsgroups.borland.com 1196886000 66.0.171.194 (5 Dec 2007 12:20:00 -0700)
Lines: 43
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail