QPanel or Picture AddControlToMove and Drop it to a Dropzone . looking for a revert option
Sun, 02/21/2010 - 19:32
Hello,
if i drop a QPanel or Picture to a Drop Zone.
So the object will be Moveable like
$this->pnlPanel->AddControlToMove($this->pnlPanel);
i looking for the option that when i move the QPanel to a Drop Zone
that the Panel will move to the Drop Zone but will not leave
his original position so like a Shopping Cart.
thanx

Since this involves some pretty complicated javascript, we may not be able to fix it for version 1.x. Version 2.0 is switching to jQuery however, so it may already work in 2.0. Please give it a try and let us know. :)
where can i get version 2.0 ?
If I'm not mistaken, you can just create and SVN project (like with Tortoise) and import everything from QCubed. You'll get all versions with that, including 2.0.
Note that version 2.0 is currently in pre-alpha. There has not been a public release yet. It's unstable. No official support is provided. I strongly advocate that you do NOT build your business on top of it yet. It's not yet ready.
We're working really hard to make it ready soon, though.
Drag and drop is fully supported in V2.0
However, the use case as described in the original post is not there out of the box.
hi,
i will have a try.
what the big different in v.2.0 ? using Jquery for AJAX ?
like i can see in v1.1.1 Jquery is used as well.
regards
The big change for v2.0 is that all JS is being re-written to use jQuery instead of any old hand-coded JS from QCodo.
v1.1 includes jQuery, but makes no use of it in core, rather just providing it as a resource for plugins to make use of.
can i use some options with Draggable from JQuery like Opacity or Revert ?
Nothing should stop you from fully utilizing features of jQuery, and/or any other javascript framework...? Are there specific problems you are experiencing?
i know i can do that . if i used jquery style.
i was just wondering if i can used it directly
like this
$this->pnlPanel->AddControlToMove($this->pnlPanel);