Displays a dialog box that includes a logo, a message, the "Yes", "No" and "Cancel" buttons, and returns the button validated by the user.
// In C
CALLWD("Confirm, Save the information entered");
if WDInt==1 Save();
// In Pascal
CALLWD('Confirm, Save the information entered');
if WdInt=1 THEN Save();
// In VB
call CALLWD("Confirm, Save the information entered")
if WdInt=1 THEN Call Save
EndIf
Syntax
<Message>: Character string (with quotes)
Message to display (up to 200 characters).
Remarks
- WdString contains the answer of the user:
- if the answer is "Yes", WdString contains "O" and WdInt contains 1.
- if the answer is "No", WdString contains "N" and WdInt contains 0.
- if the answer is "Cancel", WdString contains "A" and WdInt contains 2.
- To display the message on several lines, use the following syntax:
- Example in C:
- Example in Pascal:
CALLWD('Confirm, '+Chr(10)+' ');
- Example in VB:
call CALLWD("Confirm, "+CHR(10)+"")