ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Dialog Box functions / WLanguage procedure
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
WLanguage procedure associated with YesNoAsynchronous
Procedure ("Callback") called by YesNoAsynchronous when the user clicks one of the buttons in the dialog box. This procedure can be a local, global, internal or lambda procedure.
Example
YesNoAsynchronous("Do you want to close this window?", Procedure_YesNo)
 
INTERNAL PROCEDURE Procedure_YesNo(nResponse int)
IF nResponse = Yes THEN
ToastDisplay("You want to close the window!")
ELSE
ToastDisplay("You don't want to close the window!")
END
END
Syntax
YesNoAsynchronous_Callback(<Selected button>)
<Selected button>: Integer or Integer constant
Identifies the button selected by the user:
No0The user selected [NO]
or closed the dialog box via the 'X' icon.
Yes1The user selected [YES]
Component: wd290obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help