-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3713812
By: nobody
Hi,
I have a button and when I click on this button,a new window appear. How can I do for chose the location where my new window appear?
thanks,
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3713841
By: henrichen
win.setLeft("100px");
win.setTop("100px");
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3715191
By: nobody
Where do I put win.setLeft("100px");
win.setTop("100px");? I try like this
onClick="win3.setVisible(true);win3.setLeft("100px")" but it don't work.
thanks again,
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3715239
By: henrichen
It is the interleaved quotation mark. You have to use " instead.
onClick="win3.setVisible(true);win3.setLeft("100px")"
And one more thing, the window must be mode="overlapped" or mode="popup" or it will not work. The position of an embedded window is controlled by its surrounding layout components.
/henri
Asked: 2006-05-04 12:32:57 +0800
Seen: 246 times
Last updated: May 05 '06