PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Changing language and help file
  • Various
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
WHelp (Function)
In French: WHelp
Displays a file or a help page in HLP or CHM format.
Example
// Open "NotePad.hlp" on the cut/paste page
WHelp("C:\Windows\NotePad.hlp", "PASTING TEXT")
// Open "NotePad.hlp" on the page whose context number is 35
// or on the index if the number does not exist
WHelp("C:\Windows\NotePad.hlp", 35)
Syntax

Opening the help about the help (WinHelp.hlp)

WHelp()

Opening a help file Hide the details

WHelp(<Name of Help File> [, <Keyword>])
<Name of Help File>: Character string
Name and path of help file (.HLP or .CHM). If the help file is not found, a dialog box is displayed, allowing the user to localize the help file.
<Keyword>: Optional character string
Keyword used to find the help page.
This parameter corresponds to an empty string ("") or is not specified, the help file's index is opened and the user will be able to select the keyword he wants. If the help file has no index, the file is opened on the first help page.

Displaying a specific help page Hide the details

WHelp(<Name of Help File> , <Context Number>)
<Name of Help File>: Character string
Name and path of help file (.HLP or .CHM). For a HLP file, if the help file is not found, Windows displays a dialog box allowing the user to localize the help file.
<Context Number>: Integer
Context number associated with the help page and with the control for which the page must be displayed. The help number associated with a control is returned by NumHelp.
Remarks

Changing language and help file

In the help editor of WINDEV, the name of help file can be built from a numeric identifier corresponding to Nation.
In this case, to start the help file corresponding to the current language, all you have to do is use the following code:
// Start the help in CHM format
WHelp("MyFile" + NumToString(Nation(), "03d") + ".chm")

Various

  • See the documentation of Windows for more details.
  • To associate a context-sensitive tooltip with the controls of a window, use HelpFile.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment