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 dialog box
  • Miscellaneous
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Displays a custom error message in a system error window.To close the window, the user must click OK.
Versions 16 and later
WEBDEV - Server code In a Webservice, ErrorBuild is used to define the error returned by the Webservice. If several call to ErrorBuild are performed, the error messages are concatenated.
Linux This function is now available for WINDEV applications in Linux.
New in version 16
WEBDEV - Server code In a Webservice, ErrorBuild is used to define the error returned by the Webservice. If several call to ErrorBuild are performed, the error messages are concatenated.
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server code In a Webservice, ErrorBuild is used to define the error returned by the Webservice. If several call to ErrorBuild are performed, the error messages are concatenated.
Linux This function is now available for WINDEV applications in Linux.
Versions 18 and later
WEBDEV - Browser code This function is now available in Browser code.
New in version 18
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code This function is now available in Browser code.
Example
Syntax
ErrorBuild(<Format string> [, <Parameter 1> [... [, <Parameter N>]]])
<Format string>: Character string
Character string to display containing optional parameters (%1 to %n). To display the % character, this character must be typed twice (%%).
<Parameter 1>: Optional character string (with quotes)
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 by empty strings.
<Parameter N>: Optional character string (with quotes)
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 by empty strings.
Remarks

Characteristics of 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 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 (white cross) cannot be modified.
Versions 16 and later
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.
New in version 16
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.
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.

Miscellaneous

  • Timers (TimerSys) are not stopped when this function is called.
  • The caption of the button is displayed in the language used by Windows on the current computer.
Component : wd260obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment