|
- Characteristics of dialog box
- Line break in the dialog box
- Displaying the dialog box
- Miscellaneous
- Emulation
- Application in the background: Android 10 specific case
Warning (Function) In french: Avertissement
Not available
NextTitle("Caution") Warning("This operation was not validated" + ... CR + "Contact the application manager")
Syntax
Warning(<Text> [, <Line 2> [... [, <Line n>]]])
<Text>: Character string (with quotes) Text that will be displayed on the first line. <Line 2>: Optional character strings (with quotes) Text that will be displayed on the second line. <Line n>: Optional character strings (with quotes) Text that will be displayed on the other lines. Remarks Characteristics of dialog box - The title of the dialog box corresponds to the title of the current window (or page).
 To comply with the system specifications, the title of dialog box is empty by default. To define this title, use NextTitle. - To modify or define the title of dialog box, use NextTitle.
- The message is aligned to left.
- The button caption depends on the runtime language of Windows.
- The maximum number of characters cannot exceed 4096. If a larger string is passed in parameter, it will be truncated.
- The icon displayed (exclamation mark in yellow triangle) cannot be modified.
Line break in the dialog box The CR string (Carriage Return) can be used to force a break to the next line. For example:
Warning("The XXX form was modified" + CR + ... "Any new modification must be validated.")
is equivalent to:
Warning("The XXX form was modified", ... "Any new modification must be validated.")
You also have the ability to use the syntax of multiline strings. For example:
Warning( [ This operation was not validated.
Contact the application provider ])
- Timers (TimerSys) are not stopped when this function is called.
Windows events are not stopped when this function is called. You can use the code wizard to enter the function in the code editor. Depending on the characteristics entered in the wizard, the function used can be different in the code that is automatically generated. DelayBeforeClosing limits how long the message is displayed. The dialog box is automatically closed. For question or confirmation dialog boxes, the default button corresponds to the expected answer. - The caption of the button is displayed in the language used by Windows on the current computer.
Versions 25 and later New in version 25 Business / UI classification : UI Code
This page is also available for…
|
|
|
| |
| | https://youtu.be/Jy7ESrMuGi8
https://windevdesenvolvimento.blogspot.com/2019/04/dicas-2077-windev-e-mobile-comandos.html
// btn advertencia
NextTitle("Mensagem de Advertencia") Warning("Aqui vai uma menagem de Advertencia"+CR+"Contate o Programador dos Pampas") |
|
|
|
| |
| |
| |
| |
| |
| |
| | |
| |