PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 PROCEDURE 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: wd260obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment