ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Dialog Box functions
  • Features of the dialog box
  • Special cases
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 a custom message in a system information window.
To close the window, the user must click OK.
Example
User_Name is string = "Florence"

NextTitle("Welcome")
InfoBuild("Hello %1" + CR + "Welcome!", User_Name)
Syntax
InfoBuild(<Format string> [, <Parameter 1> [... [, <Parameter N>]]])
<Format string>: Character string
Character string to display containing optional parameters (%1 to %n). To display the % character in the final string, this character must be typed twice (%%).
<Parameter 1>: Optional character string
First parameter that will be inserted into the formatted character string.
<Parameter 1> will replace the %1 character, <Parameter 2> will replace the %2 character, etc.
The number of specified parameters must be equal to or greater than the number of parameters used in <Format string>.
If <Format string> contains more parameters, the additional parameters will be replaced with empty strings.
<Parameter N>: Optional character string
Nth parameter that will be inserted into the formatted character string.
<Parameter 1> will replace the %1 character, <Parameter 2> will replace the %2 character, etc.
The number of specified parameters must be equal to or greater than the number of parameters used in <Format string>.
If <Format string> contains more parameters, the additional parameters will be replaced with empty strings.
Remarks

Features of the dialog box

  • The title of the dialog box corresponds to the title of the current window (or page).
  • To modify or define the title of dialog box, use NextTitle.
  • The message is aligned to the 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 as parameter, it will be truncated.
  • The icon displayed (information tooltip) cannot be modified.
WEBDEV - Server code To customize this dialog box (and all the system dialog boxes in your site), check "Apply the skin to the dialog boxes (YesNo and OKCancel)" in the "Skin" tab of the project description window.

Special cases

  • Timers (TimerSys) and Windows events are not stopped when this function is called.
  • The text of the buttons is displayed in the system language.
Component: wd290obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/29/2024

Send a report | Local help