0

Window problem

asked 2006-05-04 12:32:57 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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,

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-05-04 12:44:16 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3713841

By: henrichen

win.setLeft("100px");
win.setTop("100px");

/henri

link publish delete flag offensive edit

answered 2006-05-05 08:53:57 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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,

link publish delete flag offensive edit

answered 2006-05-05 09:27:50 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-05-04 12:32:57 +0800

Seen: 246 times

Last updated: May 05 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More