on 08-31-2005 9:12 AM
Hi,
I have created a popup window. How to make it non modal?
my code goes like this.....
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("Popup");
IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
wdContext.currentContextElement().setWindowInstance(window);
window.setWindowPosition(WDWindowPos.CENTER);
window.open();
Pls help
Hi Valery,
Thanks a lot for this correction. But, I have noticed whatever boolean value I give, it always opens up a new modal WD window. And except for the createExternalWindow() I have never been able to open a new browser window. Can you please verify this.
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sujesh,
<b>IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);</b>
The second parameter you specify is supposed to determine whether it is modal or not.
Best Regards,
Nibu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sujesh,
As far as I know this functinality hasn't been implemented atleast till SP9. Though you have a boolean variable for specifying whether the window created is modal or not, it will always create a <b>modal</b> window.
Best Regards,
Nibu.
Message was edited by: Nibu Wilson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.