Skip to Content
0
Jan 12, 2006 at 10:38 AM

IWDWindow object query

11 Views

Hello all,

I have a WD app where I display tables of information to the user. One column of a specific table holds a button that the user may click to open a popup window displaying further details about the data contained for that table row.

This popup window is achieved with the following code;

IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("RegistrationDetails");
IWDWindow win = wdComponentAPI.getWindowManager().createModalWindow(winInfo);
win.setWindowPosition(400, 80);
win.setWindowSize(200, 100);
win.setTitle(wdComponentAPI.getTextAccessor().getText("RegistrationDetails"));
win.open();

The window cannot be moved around the screen by the user. Is there any way of allowing the user grab and move the window? I'm using SP14.

I see that there is a createNonModalExternalWindow() method but this takes a URL as parm and not an IWDWindowInfo object, can I calculate a URL for the IWDWindow object and use this method?

Regards,

Patrick.