|
|
|
|
|
WLanguage procedure called by OKCancelAsynchronous Procedure ("Callback") called by OKCancelAsynchronous 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.. OKCancelAsynchronous("Quel bouton choisissez vous ?", MaProcédure_OKAnnuler)
INTERNAL PROCEDURE MaProcédure_OKAnnuler(nRéponse int)
SWITCH nRéponse
CASE 1 : ToastDisplay("Bouton OK")
CASE 0 : ToastDisplay("Bouton Annuler")
END
END
Syntax
OKCancelAsynchronous_Callback(<Selected button>)
<Selected button>: Integer Identifies the button selected by the user: | | False (or 0) | The "Cancel" button was chosen by the user. | True (or 1) | The "OK" button was chosen by the user. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|