I believe just adding a component to whereever you want it to be,
removes it from whereever it was.
But i could be mistaken ;-)
This works for me, though:
=======example code===============
var superParent = new qx.ui.layout.VerticalBoxLayout();
superParent.set({ top: 0, left: 0, bottom: 0, right: 0 });
superParent.addToDocument();
var parentX = new qx.ui.layout.Canvas();
parentX.set({heigth: "50%", width: "100%"});
var parentY = new qx.ui.layout.Canvas();
parentY.set({heigth: "50%", width: "100%"});
superParent.add( parentX, parentY );
var button = new qx.ui.form.Button('Click me to move me down');
button.addEventListener('execute',function(){
parentY.add(button);
}, this);
parentX.add(button);
=====================================
When you click the button, the button is removed from parentX and
added to parentY.
Note, that i do not _remove_ the button. I just add it to parentY.
If you remove the button, i think it gets destroyed!
Which would explain the error message you have received.
Greetings,
Ralf Nieuwenhuijsen
2008/6/6 Bart van der Werf <[EMAIL PROTECTED]>:
> I'm, trying to move some controls from one tab in a pagecontrol to another
> but i get a "this._layoutChanges is null".
> What is the way to move components from one parent component to another ?
>
> greets, Bart
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel