1. Opening the helpfile for the first time requires two keyboard, or mouse
help requests - not one (eg clicking the context sensitive icon then the
control twice)
2. I can't seem to get a popup window. I always end up with the main help
screen despite having border icons bihelp set to true.
3. I don't seem to have any control over the window size or position from
the component methods.
e.g. the onhelp event:
TfrmStart.WhatsThis1Help(Sender, HelpItem: TObject; IsMenu: Boolean;
HContext: THelpContext; X, Y: Integer;
var CallHelp: Boolean);
setting X and Y has no effect.
(using ec-software's http://www.ec-software.com (authors of
www.helpandmanual.com ) whatsthis component for Delphi 6 )
Any suggestions would be greatly appreciated.
Warren Pearson
If you are using a 3rd-party component then you should ask its maker for
help in using it. If the don't have a direct channel for support try to post
in the delphi.thirdparty-tools group.
The help support in D6 has been completely revamped to enhance Kylix
compatibility. Unfortunately this has lost us some Windows-specific
features, like popup help windows for context help. The only workaround at
the moment is to use the Onhelp event of form or Application to call the
WinHelp API function directly, cutting the VCL help support out of the
picture completely.
Peter Below (TeamB) 10011...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Note: I'm unable to visit the newsgroups every day at the moment,
so be patient if you don't get a reply immediately.
We have updated EHS to v1.23 today. This new version solves the problems
with Delphi 6 you are suffering from.
Download: http://www.ec-software.com/comppage.htm
> 2. I can\'t seem to get a popup window. I always end up with the main
help
> screen despite having border icons bihelp set to true.
That's defined in the BorderIcons property of the form. Include biHelp if
you want to get a popup window. If you use THelpRouter (not necessary,
however, for HLP files only), you can also set the help window type there.
> TfrmStart.WhatsThis1Help(Sender, HelpItem: TObject; IsMenu:
> Boolean; HContext: THelpContext; X, Y: Integer; var CallHelp:
> Boolean);
The X and Y parameter in this event are no VAR values, so changing them has
no effect. TWhatsthis uses the control position to set the position for the
popup window. Although explicitely set, the Winhelp viewer sometimes
disregards the position with seems to be a bug in Winhelp.
Popup window size: this is choosen by the Winhelp viewer. There is no way to
control the size of a popup window.
---
Alexander Halser
http://www.ec-software.com