User Tools

Site Tools


init_initialize_html_help_object_.htm
Navigation:  ABC Library Reference > TagHTMLHelp Class > TagHTMLHelp Methods >====== Init (initialize HTML Help object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Init( helpfile, [keycode])

blk2blue.jpg

Helpfile A string constant, variable, EQUATE, or expression containing the help file name. This should be enclosed in single quotes.
Keycode A numeric keycode or keycode EQUATE. If omitted, the default value is 123, F12Key. Keycode equates can be found in KEYCODES.CLW.

The Init method initializes the TagHTMLHelp object and opens the specified help file. This method also aliases the F1 key to the F12 (keycode 123) key by default in order for the rest of the methods to be able to check for this keystroke. If F12 is used by some other function in the application this may be changed to whatever keystroke is unused in the application.

Example:

oHH.Init( 'cwhh.chm' )

Return Data Type: BYTE

init_initialize_html_help_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1