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 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.
Remark: This procedure can be a local, global, internal or lambda procedure.
Example
OKCancelAsynchronous("Which button do you choose?", MyProcedure_OKCancel)
 
INTERNAL PROCEDURE MyProcedure_OKCancel(nResponse int){
SWITCH nResponse
CASE 1: ToastDisplay("OK button")
CASE 0: ToastDisplay("Cancel button")
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.
Component: wd260.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment