PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Special characters
  • Equivalence
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
Identifies or modifies the caption of a menu option (popup menu or drop-down menu).
Example
// Find out the caption of "OPT_IconBar"
ResCaption = MenuLabel(OPT_IconBar)
Syntax

Identifying the caption of a menu option Hide the details

<Result> = MenuLabel([<Window>, ] <Menu option>)
<Result>: Character string
Current caption of the menu option.
<Window>: Window name
Name of the window containing the menu option.
If this parameter is not specified, the MenuLabel function will manipulate the current window.
<Menu option>: Option name
Name of the menu option to use. This name is defined in the description window of the menu option.
This name must be specified without quotes.

Modifying the caption of a menu option Hide the details

<Result> = MenuLabel([<Window>, ] <Menu option> , <New caption>)
<Result>: Character string
Former caption of the menu option.
<Window>: Optional character string (with or without quotes)
Name of the window containing the menu option.
If this parameter is not specified, the MenuLabel function will manipulate the current window.
<Menu option>: Menu option
Name of the menu option to use. This name is defined in the description window of the menu option.
This name must be specified without quotes.
<New caption>: Character string (with or without quotes)
New caption for the menu option. You have the ability to add a help message to the menu option. This parameter has the following format: "<New caption>:<Help message>.
Remarks

Special characters

  • In order for the ":" character not to be considered as a help separator, this ":" character must be preceded by a "backslash" ("\").
  • The "TAB" character enables you to align the following characters to the left ("\t" in the menu editor).
  • The "Char(8)" character enables you to align the following characters to the right ("\a" in the menu editor).
  • The "&" character placed in front of a letter is used to described this letter as shortcut for the menu option.
Java The special characters are ignored. The keyboard shortcuts are not supported by the menu options

Equivalence

MenuLabel is equivalent to Libellé.
Component: wd260obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment