ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
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
Error (External language)
In french: Erreur
Displays a dialog box containing an error logo and the message passed in parameter.
Example
// In C
CALLWD("Error,Error reading the file %s",FileName);
// In Pascal
CALLWD('Error,Error reading the file '+FileName);
// In VB
call CALLWD("Error,Error reading the file "+FileName)
Syntax
Error(<Message>)
<Message>: Character string
Message to display (up to 200 characters).
Remarks
  • The window will be closed when the user validates the "OK" button.
  • By default, the title of the window is the title of the current window. To modify the title, you must use Windows,TNext.
  • To display the message on several lines, use the following syntax:
    • Example in C:
      CALLWD("Error,  \n ");
    • Example in Pascal:
      CALLWD('Error, '+Chr(10)+ ' ');
    • Example in VB:
      call CALLWD("Error, "+CHR(10)+"")
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help