on 10-03-2006 3:22 PM
Hi everyone,
I've got a simple problem : when I enter in my Portal in hebrew language, the dialog box position is not respected.
I used the dialog.setWindowPosition(x, y)
and dialog.setWindowPosition(WDWindowPos.CENTER)
but the window always appears behind the navigation of the Portal.....which is half readable.
Can someone please help with that issue ?
Thanks in advance.
Regards.
Hi
Try this
dialog.setWindowPosition(10,10);
dialog.open();
can you please post your complete code.
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Here is the code :
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow("Hello world" , wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("OK"), "Ok");
dialog.setWindowPosition(10,10);
dialog.open();
The position (10, 10) does not do anything...the window is display in the center.
Thanks
NB : I want to correct something : the issue is also relevant if I enter in my Portal in english language.
Message was edited by: David Fryda
Hi
Try this
IWDControllerInfo controllerInfo =
wdControllerAPI.getViewInfo().getViewController();
IWDConfirmationDialog dialog =
wdComponentAPI.getWindowManager().createConfirmationWindow("dialogText",controllerInfo.findInEventHandlers("OK"), "Ok");
dialog.setWindowPosition(10,10);
dialog.open();
Kind Regards
Mukesh
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.