ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Dialog Box functions / WLanguage procedure
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
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.
Component: wd290obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help