os.exit ([code])
Calls the C function exit, with an optional code, to terminate the host program. The default value for code is the success code.
Calls the C function exit, with an optional code, to terminate the host program. The default value for code is the success code.
Other way, I use timer with a variable (change when user click exit) to detected when user exit app from DialogEx -> Close App from page.
Until now, I think we just can break the rule -_-"
Leave a comment: