ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Dialog Box functions / WLanguage procedure
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Note: This procedure can be a local, global, internal or lambda procedure..
Example
ConfirmAsynchronous("Quel bouton choisissez vous ?", Procédure_Confirmer)

INTERNAL PROCEDURE Procédure_Confirmer(nRéponse int)
	SWITCH nRéponse
		CASE Yes : ToastDisplay("Bouton Oui")
		CASE No : ToastDisplay("Bouton Non")
		CASE Cancel : ToastDisplay("Bouton Annuler")
	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: 03/27/2025

Send a report | Local help