PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
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 (with quotes)
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 required version
  • Version 14
Comments
Click [Add] to post a comment