So how do I change the position of a subview then? Put it above other views etc.<br><br><div><span class="gmail_quote">On 6/13/07, <b class="gmail_sendername">Can Barışcan</b> <<a href="mailto:canbarcan@gmail.com">canbarcan@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In the forum I've seen someone say : you can't change parent dynamically. Oh well. I'll try to hack it in some other way.
<div><span class="e" id="q_113252f0fe3f3641_1"><br><br><div><span class="gmail_quote">On 6/13/07, <b class="gmail_sendername">Can Barışcan
</b> <<a href="mailto:canbarcan@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">canbarcan@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How can I change the parent of a view within a view that has a layout? I have something that is inited in a view and placed according to a layout. Instead of destroying it, I want to hide it and put it in an invisible view (restoring the layout for the remaining elements). Then when I want to show it again, I want to put it back inside the layout but like it was added from scratch like a new thing was added to the layout, so this way I don't have to destroy, then initialize it again each time I virtually close and open it. Opening puts things according to layout.. Like
windows.subviews[1].setParent(windowstack) then windowstack.subviews[1].setParent(windows). <br><br>It says in docs chapter 32 states:<br><p>"This example highlights the metaphysical nature of states: they
modify the meta-object protocol enough so that their contents can be
stored and applied elsewhere. (This could conceivably be a feature of
the system as a whole as in, for example, <code>an LzNode.setParent(otherLzNode)</code>, but it's not)." <br></p><p>I don't really get this.
</p><span>
<h3><a name="113252f0fe3f3641_11325131cfd315dc_d0e19350"></a></h3><br>Can<br>
</span></blockquote></div><br>
</span></div></blockquote></div><br>