AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones de cuadros de diálogo
  • Characteristics of the message
  • Generated error
  • Message and MDI child window
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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.
WEBDEV - Código Servidor To easily share code between the WINDEV and WEBDEV applications, this function has no effect in server code.
Ejemplo
Message("Processing...")
MyProcess() // Procedure used to perform the requested process
Message("Ready")
WINDEVCódigo de Usuario (UMC)
// Message in the "MCB_Info" cell
Message(MCB_Info, "Enter your name")
WEBDEV - Código Navegador
// Message with scroll
Message("Welcome!", Scrolling, 5)
Sintaxis

Displaying or erasing a message in the status bar Ocultar los detalles

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.

WEBDEV - Código Navegador 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.
WINDEVCódigo de Usuario (UMC)

Displaying or erasing a message in a cell of status bar Ocultar los detalles

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.
WEBDEV - Código Navegador

Displaying a scrolling message Ocultar los detalles

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.
Observaciones

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).
WINDEVCódigo de Usuario (UMC)

Message and MDI child window

Message, used from an MDI child window without status bar, uses the status bar of the parent window.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Video Message
https://youtu.be/3MIt-pf1UJQ

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1991-windev-comandos-32.html
amarildo
23 01 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 07 2016

Última modificación: 28/03/2025

Señalar un error o enviar una sugerencia | Ayuda local