Use help
files (*.hlp)
Author:
Simon Grossenbacher
{
First we need to tell the Application object
the name
of the Help file and where to locate it.
Zuerst müssen wir ein Hilfe Datei angeben.
}
Application.HelpFile
:= ExtractFilePath(Application.ExeName) + 'YourHelpFile.hlp';
{
To Show a help file's content tab:
Um das Inhalts Verzeichnis der Hilfe anzuzeigen:
}
Application.HelpCommand(HELP_CONTENTS,
0);
{
To display a specific topic of your help
file:
Ein bestimmtes Thema der Hilfe Datei anzeigen:
}
Application.HelpJump('TApplication_HelpJump');
inne
Open Help
You can use
HelpFile property and HelpCommand method for TApplication class.
You can use
WinHelp procedure also. This example shows, how to call the Windows Help.
procedure
TForm1.Button1Click(Sender: TObject);
begin
WinHelp(Form1.Handle,nil,HELP_HELPONHELP,0);
end;