DoDisplayTopic - cHtmlHelp
Displays a Topic
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| wTopic | WString |
Syntax
Procedure DoDisplayTopic WString wTopic
Call Example
Send DoDisplayTopic wTopic
Description
The DoDisplayTopic procedure opens the helpfile and displays a topic.
To synchronize and display the Table of Contents, send the DoDisplayTOC afterwards, as in this example:
Object oMyHelp is a cHtmlHelp
Set psHelpFile To "c:\MyApp\Help\Help.chm"
Send DoDisplayTopic "New_Accounts.htm"
Send DoDisplayTOC
End_Object
| Col 1 | Col 2 |
|---|---|
| Note: | Before sending this method, you must set the psHelpFile property to the name of the helpfile. |