Description: This statement calls Windows™ help.
Returns: Nothing
Usage: Script
Format: Help(FileName, Option, Extra)
Parameters: FileName { text } { required } { no default }
The name of the help (.HLP) file to be displayed.
Option { numeric } { required } { no default }
Any numeric expression for the display options as indicated by the following table.
|
Option |
Display Option |
Extra |
|
0 |
Help contents |
0 |
|
1 |
Key |
Key string |
|
2 |
Partial key |
Partial key string |
|
3 |
ID |
ID number |
|
4 |
Help Topics |
0 |
Extra { numeric } { required } { no default }
Any expression that provides the proper qualification needed by the Option parameter as indicated by the preceding table.
Comments: none
Example:
If ZButton(10, 40, 110, 10, "Help", 1);
[
Help("C:\WinNT35\Regedit.HLP", 0, 0);
]
This displays a button on the screen that when pressed, brings up the contents of the Windows™ help file for the registry editor.