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 called by ConfirmAsynchronous
Procedure ("Callback") called by ConfirmAsynchronous when the user clicks one of the buttons in the dialog box. This procedure is used to find out which button was clicked, and to run a specific process if necessary.
Remark: This procedure can be a local, global, internal or lambda procedure.
Example
ConfirmAsynchronous("Which button do you choose?", Procedure_Confirm)
 
INTERNAL PROCEDURE Procedure_Confirm(nResponse int)
SWITCH nResponse
CASE Yes: ToastDisplay("Yes button")
CASE No: ToastDisplay("No button")
CASE Cancel: ToastDisplay("Cancel button")
END
END
Syntax
ConfirmAsynchronous_Callback(<Selected button>)
<Selected button>: Integer or integer constant
Identifies the button selected by the user:
Cancel2The user selected [CANCEL].
No0The user selected [NO].
Yes1The user selected [YES].
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