2013-10-21, 15:48
I want to display busy dialog then do some thing when finished then close the busy dialog.
I do it like this:
That is working but what I want now is that if user presses ESC on busy dialog and I am still doing my stuffs then end the work and animation both.
As it happens normally in xbmc and in any gui application.
How can I do that?
Thanks for help in advance.
I do it like this:
PHP Code:
xbmc.executebuiltin('ActivateWindow(busydialog)')
#Do something....
xbmc.executebuiltin('Dialog.Close(busydialog,true)')
That is working but what I want now is that if user presses ESC on busy dialog and I am still doing my stuffs then end the work and animation both.
As it happens normally in xbmc and in any gui application.
How can I do that?
Thanks for help in advance.