help Parameter

Specifies the help information associated with a user-defined menu item.

Scope: File

Syntax

set help.[MenuItemId] {HelpId | HelpCommand} 

Options

MenuItemId 
The numeric menu item identifier that can be obtained by the query actionbarid command. If 0 or no ID value is given, the ID for the last-defined menu item is used.
HelpId 
Specifies the help resource id to be associated with the menu item.
HelpCommand 
Specifies the command line entry to display help for the menu item.

Description

The help parameter associates information for providing online help for a user-defined action. This information can be in the form of a help panel ID or any operating system command-line entry for bringing up the help.

Example

To associate a section in a book with the last-defined menu item:

set help. view lpxcref block 

API Return Codes

-2 
Help information is not provided.
-3 
The specified menu item ID does not correspond to any user-defined action.