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
Yes,No (External language)
In french: OuiNon
Displays a dialog box that includes a logo, a message and the "Yes" and "No" buttons. The user must validate one of the buttons ("Yes" or "No") to close the window.
If the answer is "Yes", WdString contains "O" and WdInt contains 1.
If the answer is "No", WdString contains "N" and WdInt contains 0.
Example
// In C
CALLWD("YesNo,Do you want to exit from the program");
if WDInt=1 Exit_Program();
// In Pascal
CALLWD('YesNo,Do you want to exit from the program');
if WdInt=1 then Exit_Program;
// In VB
call CALLWD("YesNo,Do you want to exit from the program")
if WdInt=1 then gosub Exit_Program
Syntax
Yes,No(<Message>)
<Message>: Character string
Message to display (up to 200 characters).
Remarks
To display the message on several lines, use the following syntax:
Example in C:
CALLWD("YesNo,  \n ");
Example in Pascal:
CALLWD('YesNo, '+Chr(10)+' ');
Example in VB:
call CALLWD("YesNo, "+CHR(10)+"")
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help