on 09-29-2009 10:39 AM
Hi all,
Is there any way to hide/remove status bar of browser window?
I tried removing it through following line of code:-
//This MainWin is the default window for the application
IWDWindowInfo WindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MainWin");
IWDWindow Window = wdComponentAPI.getWindowManager().createModalWindow(WindowInfo);
Window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
But its not working.
I tried writing this code inside wdDoInit() of component controller / View's init / onAction event. But no use.
Any ideas on this?
Thanks and regards,
Amey Mogare
Hi,
try this code
IWDWindowInfo WindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MainWin");
IWDWindow Window = wdComponentAPI.getWindowManager().createModalWindow(WindowInfo);
Window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
Window.show();
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you for reply.
But I want to hide address bar from default application window! This application would be triggered from a link in another (web dynpro / non-web dynpro) application.
And user should not be able to see where he is gets navigated.
So, is there anyway we can hide address bar from default application window of a Web Dynpro application?
Thanks and regards,
Amey Mogare
Hi,
IWDWindowInfo WindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MainWin");
IWDWindow Window = wdComponentAPI.getWindowManager().createModalWindow(WindowInfo);
Window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
Window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
Window.show();
Regards,
Naga
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.