0

Can overlapped Window be draggable?

asked 2012-07-12 20:20:18 +0800

eli gravatar image eli
39

Hi. The component reference asserts that overlapped Window can be draggable. But in ZK 6.0.1 I call Window.doOverlapped() with draggable="true" I get an exception throwing "Draggable window cannot be modal, overlapped, popup, or..." Maybe it's a recent issue? Can an engineer please take a look?

Thanks (I love ZK!)

eli

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2012-07-13 03:11:53 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

Duplicate thread. Please refer to this thread for explanation.

link publish delete flag offensive edit

answered 2012-07-13 03:28:06 +0800

benbai gravatar image benbai
2228 6
http://www.zkoss.org

Hi eli,

The overlapped is already draggable, you do not call setDraggable("true"); if you only want to drag it.
If you want make a window looks like overlapped window and working with Drag and Drop feature, please refer to the sample:
http://zkfiddle.org/sample/35753t9/1-Simulate-overlapped-window

Regards,
Ben

link publish delete flag offensive edit

answered 2012-07-13 09:39:54 +0800

eli gravatar image eli
39

How silly. My window had no title, making it impossible for user to drag its position. A mention of this requirement in http://books.zkoss.org/wiki/ZK%20Component%20Reference/Containers/Window would be helpful for other users. Thanks for your response.

eli

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: 2012-07-12 20:20:18 +0800

Seen: 155 times

Last updated: Jul 13 '12

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