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.
  • Characteristics of the message
  • Generated error
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Displays (or erases) a message in the status bar of current window or browser.
Remark: The window or the browser window must have a status bar.
WEBDEV - Server code To easily share code between the WINDEV and WEBDEV applications, this function has no effect in server code.
Example
Message("Traitement en cours...")
MonTraitement() // Procédure permettant de réaliser le traitement voulu
Message("Prêt")
WEBDEV - Browser code
// Message avec défilement
Message("Bienvenue!", Scrolling, 5)
Syntax

Displaying or erasing a message in the status bar Hide the details

Message([<Text>])
<Text>: Optional character string
Text to display (up to 127 characters).
If this parameter is not specified, the message previously displayed in the status bar is erased.

WEBDEV - Browser code If this parameter contains the "HH:MM" string, this string is automatically replaced with the system time of the current computer.
To display the "&" character, this character must be typed twice otherwise the letter following this character will be underlined.
WEBDEV - Browser code

Displaying a scrolling message Hide the details

Message([<Text> [, <Option> [, <Spacing>]]])
<Text>: Optional character string
Text to display (up to 127 characters).
If this parameter is not specified, the message previously displayed in the status bar is erased.
If this parameter contains the "HH:MM" string, this string is automatically replaced with the system time of the current computer.
To display the "&" character, this character must be typed twice otherwise the letter following this character will be underlined.
<Option>: Optional constant
Specifies whether the message scrolls:
ScrollingThe message will scroll
<Spacing>: Optional integer
Size (in number of characters) between the end of the message and the beginning of the next message. If this parameter is not specified, if it is equal to 0 or if it is a negative number, this spacing corresponds to the number of characters in the message.
Remarks

Characteristics of the message

The message is aligned to left.
The text displayed in the status bar or in the first cell of a multi-cell status bar is automatically erased when the user selects a control associated with a help message: the help message of this control will be displayed in the status bar.

Generated error

A WLanguage error occurs if Message is called from a process of the "Project code" (initialization of the project, closing the project or closing a session).
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment