Hi everybody,
I'm trying to understand the behaviour of this sequence of code.
the first activity.finish should terminate the activity but the code runs till the second, which is the last instruction of the sub.(the first finish is a refuse from a cut and paste, not seen before).
I have written this :
This code displays a toastmessage, terminates and displays no msgbox
This code generates two toastmessages as aspected.
What I think is that the msgbox must have a parent window(like in Windows OS) and cannot run standalone.
Thank you in advance for your explanations!
Mauro
I'm trying to understand the behaviour of this sequence of code.
B4X:
Activity.Finish
StartActivity(camera)
camera.npreview=0
timx.Enabled=False
Activity.finish
I have written this :
B4X:
ToastMessageShow("Prima",False)
Activity.Finish
Msgbox("Dopo","test")
B4X:
ToastMessageShow("Prima",False)
Activity.Finish
ToastMessageShow("Dopo",False)
This code generates two toastmessages as aspected.
What I think is that the msgbox must have a parent window(like in Windows OS) and cannot run standalone.
Thank you in advance for your explanations!
Mauro