Prompting before "on closeStack"
Posted: Thu Sep 14, 2017 8:44 am
Hi Guys,
I am having some difficulties trying to prompt a user before the app closes when the back button is pressed on a device. The example is as follows:
on closeStack
global timer
put "2" into timer
send "mouseDown" to image "StartButton"
pass closeStack
end closeStack
No matter what I do, the App continues to exit after the back button is pressed.
Any help will be appreciated.
Many Thanks,
Googie.
I am having some difficulties trying to prompt a user before the app closes when the back button is pressed on a device. The example is as follows:
on closeStack
global timer
put "2" into timer
send "mouseDown" to image "StartButton"
pass closeStack
end closeStack
No matter what I do, the App continues to exit after the back button is pressed.
Any help will be appreciated.
Many Thanks,
Googie.