K klarsys Active Member Licensed User Longtime User Feb 22, 2016 #1 Is there any way to know if user cancels ProgressDialogShow using back button?
Erel B4X founder Staff member Licensed User Longtime User Feb 23, 2016 #2 You can show it with ProgressDialogShow2. Set the Cancelable parameter to False. If you want to allow the user to hide it then handle Activity_KeyPress event and hide it when the user clicks on the back key. Upvote 0
You can show it with ProgressDialogShow2. Set the Cancelable parameter to False. If you want to allow the user to hide it then handle Activity_KeyPress event and hide it when the user clicks on the back key.
K klarsys Active Member Licensed User Longtime User Feb 24, 2016 #3 Erel said: You can show it with ProgressDialogShow2. Set the Cancelable parameter to False Click to expand... With this, Activity_KeyPress event isn't getting triggered Upvote 0
Erel said: You can show it with ProgressDialogShow2. Set the Cancelable parameter to False Click to expand... With this, Activity_KeyPress event isn't getting triggered
Erel B4X founder Staff member Licensed User Longtime User Feb 24, 2016 #4 It probably consumes the key event before it reaches the activity. It might be not possible. You can implement a similar dialog with a panel and an indeterminate progressbar. Upvote 0
It probably consumes the key event before it reaches the activity. It might be not possible. You can implement a similar dialog with a panel and an indeterminate progressbar.