Howto disable workscreen close button
2 posts
• Page 1 of 1
Howto disable workscreen close button
I want to show additional information before closing the screen. I want to close the screen programmatically.
I found the onClose method in DataSourceWorkScreen, but overriding didn't help.
I found the onClose method in DataSourceWorkScreen, but overriding didn't help.
- jvxdev
- Posts: 19
- Joined: Fri Mar 04, 2016 12:40 pm
Re: Howto disable workscreen close button
If your work-screen extends DataSourceWorkScreen, the onClose() method is great.
Simply throw an Exception or a SilentAbortException to prevent the screen from closing.
It's also possible to overwrite notifyDestroy() if you screen doesn't extend DataSourceWorkScreen, but don't forget to call super.notifyDestroy().
Simply throw an Exception or a SilentAbortException to prevent the screen from closing.
It's also possible to overwrite notifyDestroy() if you screen doesn't extend DataSourceWorkScreen, but don't forget to call super.notifyDestroy().
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
2 posts
• Page 1 of 1