ChrisGSchultz
IS-IT--Management
I have an application with a help file in the application directory, which works fine in D6, but in D7 will not load the help file (which has [tt].HLP[/tt], [tt].CNT[/tt]) when the Help button is clicked. However, it will display the context related help when F1 is pressed.
The major controls have [tt]HelpType[/tt] set to [tt]htContext[/tt], and an appropriate [tt]HelpContext[/tt] set.
The help button performs the following:
and an associated OnHelp handler
Can anyone suggest why it works in D6 Pro and not D7 Pro (BTW, I'm running under WinXP Pro)?![[sad] [sad] [sad]](/data/assets/smilies/sad.gif)
Have I missed something or is there a patch needed?
Cheers
Chris ;-)
The major controls have [tt]HelpType[/tt] set to [tt]htContext[/tt], and an appropriate [tt]HelpContext[/tt] set.
The help button performs the following:
Code:
procedure TF_browser.B_HelpClick(Sender: TObject);
// Display system help
begin
if Application.CurrentHelpFile = '' then
Application.HelpFile := 'encorep.hlp';
Application.HelpCommand(HELP_FINDER, 0);
end;
and an associated OnHelp handler
Code:
function TF_browser.FormHelp(Command: Word; Data: Integer;
var CallHelp: Boolean): Boolean;
begin
CallHelp := TRUE;
end;
Can anyone suggest why it works in D6 Pro and not D7 Pro (BTW, I'm running under WinXP Pro)?
![[sad] [sad] [sad]](/data/assets/smilies/sad.gif)
Have I missed something or is there a patch needed?
Cheers
Chris ;-)