Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ShowHelp – PB Docs 2021 – PowerBuilder Library

ShowHelp – PB Docs 2021

ShowHelp

PowerScript function

Description

Provides access to a Microsoft Windows-based Help system or to
compiled HTML Help files that you have created for your PowerBuilder
application. When you call ShowHelp, PowerBuilder starts the Help
executable and displays the Help file you specify.

Syntax

Argument

Description

helpfile

A string whose value is the name of the compiled HLP file
or the CHM (HTML Help) file.

helpcommand

A value of the HelpCommand enumerated type. Values
are:

  • Finder! — Displays the Help file in its most recently
    used state (the Help Topics dialog box in WinHelp or the
    Navigator pane in the HTML Help viewer open to the last-used
    tab or the default tab for the Help file).

  • Index! — Displays the top-level contents topic in the
    Help file.

  • Keyword! — Goes to the topic identified by the
    keyword in typeid.

  • Topic! — Displays the topic identified by the number
    in typeid.

typeid

(optional)

A number identifying the topic if helpcommand is Topic! or
a string whose value is a keyword of a help topic if helpcommand
is Keyword!.

Do not specify typeid when helpcommand is Finder! or
Index!.

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. ShowHelp returns
-1 if you specify typeid when helpcommand is Finder! or Index!. If any
argument’s value is null, ShowHelp returns null.

Usage

To provide context-sensitive Help, use ShowHelp in appropriate
scripts throughout your application with specific topic IDs or
keywords.

If you specify Keyword! for helpcommand and the string in typeid is
not unique, the Help Search window displays.

For information on how to create online Help files for your
PowerBuilder application, see the section called “Providing Online Help for an Application” in Application Techniques.

Examples

This statement displays the Help index in the INQ.HLP file:

This statement displays Help topic 143 in the file EMP.HLP
file:

This statement displays the Help topic associated with the keyword
Part# in the file EMP.HLP:

This statement displays the Help search window. The word in the box
above the keyword list is the first keyword that begins with M:

See also

Help

ShowPopupHelp


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x