ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Dialog Box functions
  • Characteristics of the message
  • Generated error
  • Message and MDI child window
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Displays or removes a message from the status bar of the current window or browser.
Remark: The window or browser window must have a status Bar.
WINDEV If the status bar is divided into several cells, you have the ability to specify the cell where the message is displayed.
Example
Message("Traitement en cours...")
MonTraitement() // Procédure permettant de réaliser le traitement voulu
Message("Prêt")
WINDEVUser code (UMC)
// Message dans la case "CBM_InfoUtil"
Message(CBM_InfoUtil, "Saisissez votre nom")
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.
WINDEV If the status bar is divided into several cells, this text will be displayed in the first cell.

WINDEVUser code (UMC)

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

Message(<Cell name> , <Text>)
<Cell name>: Character string
Name of the cell to be used. If the cell was created:
  • in the window editor, the cell name can be specified without quotes.
  • by StatusBarAddCell, the cell name must be specified between quotes (you also have the ability to use the Extern keyword).
<Text>: 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.
Remarks

Characteristics of the message

The message is aligned to the left.
The text displayed in the single message bar or in the first box of a multi-box message bar is automatically erased when the user selects a field associated with a help message: the help message for this field will be displayed in the message 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).
WINDEVUser code (UMC)

Message and MDI child window

Message, used from an MDI child window without status bar, uses the status bar of the parent window.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Video Message
https://youtu.be/3MIt-pf1UJQ

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1991-windev-comandos-32.html
amarildo
23 Jan. 2019
Exemplo Message
Exemplo Message
message("Processando")
//processos
message("")

//Blog com Video e exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/07/curso-windev-funcoes-dialogo-3-message.html
https://www.youtube.com/watch?v=dK9cF0OfPQk
De matos AMARILDO
11 Jul. 2016

Last update: 03/28/2025

Send a report | Local help