SetHelpFile()

Summary

Sets the help file to be used by subsequent help queries.

Changes

In Version 5.0 added support for CHM files.

Syntax

SetHelpFile (string pathname)

Argument Contents
filename Full pathname of the help file, including extension: .hlpor .chm

Notes

  • When the user presses F1 while selecting a menu item or displaying a dialog box, the specified help file opens at the topic indicated on the menu item or dialog box. If no item is indicated, the specified help file opens at the contents list.

  • WinHelp (.hlp files) and compiled HTML Help (.chm) files are supported.

Example

SetHelpFile("c:\\myprojects\\myhelp.chm")

See Also

Function Summary
Help() Opens a help file at a specified topic