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.
ConfirmAsynchronous("Which button do you choose?", Procedure_Confirm)
INTERNAL PROCEDURE Procedure_Confirm(nResponse int)
CASE Yes: ToastDisplay("Yes button")
CASE No: ToastDisplay("No button")
CASE Cancel: ToastDisplay("Cancel button")
<Selected button>: Integer or integer constant
Identifies the button selected by the user:
|No||0||The user selected [NO].|
|Yes||1||The user selected [YES].|
|Cancel||2||The user selected [CANCEL].|