|
|
|
|
|
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.. 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:
| | | Cancel | 2 | The user selected [CANCEL]. | No | 0 | The user selected [NO]. | Yes | 1 | The user selected [YES]. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|