B4XPage
eg.
Wait For (obj) Result (value as int)
must always be called by CallSubDelayed2(mCallBack,"Result")
or CallSub2(mCallBack,"Result") can also work
Please use [code]code here...[/code] tags when posting code.
CallSub can work in some cases but it is safer to use CallSubDelayed. Otherwise your code can reach the CallSub call before reaching the Wait For call.
Please use [code]code here...[/code] tags when posting code.
CallSub can work in some cases but it is safer to use CallSubDelayed. Otherwise your code can reach the CallSub call before reaching the Wait For call.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.