|
|
|
|
WLanguage procedure called by DialogAsynchronous Procedure ("Callback") called by DialogAsynchronous when the user clicks one of the buttons in the dialog box. This procedure is used to find out the value of the button that was clicked, and to run a specific process if necessary. Remark: This procedure can be a local, global, internal or lambda procedure.
nButton is int = Random(2) DialogAsynchronous("Click %1 to start the application.", ... MyProcedure_Dialog, nButton) INTERNAL PROCÉDURE MyProcedure_Dialog(nParam1 int) IF nButton <> nParam1 THEN EndProgram() END END
Syntax
DialogAsynchronous_Callback(<Selected answer>)
<Selected answer>: Integer Identifies the answer selected by the user. The possible values have been defined in the creation wizard of DialogAsynchronous. Remark: The different values corresponding to the different answers are automatically included as comments in the code editor when creating the dialog via the wizard.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|