So how do I change the position of a subview then?&nbsp; 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> &lt;<a href="mailto:canbarcan@gmail.com">canbarcan@gmail.com
</a>&gt; 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&#39;ve seen someone say : you can&#39;t change parent dynamically.&nbsp; Oh well.&nbsp; I&#39;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> &lt;<a href="mailto:canbarcan@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">canbarcan@gmail.com</a>&gt; 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.&nbsp; Instead of destroying it, I want to hide it and put it in an invisible view (restoring the layout for the remaining elements).&nbsp; 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&#39;t have to destroy, then initialize it again each time I virtually close and open it. Opening puts things according to layout..&nbsp; Like 
windows.subviews[1].setParent(windowstack)&nbsp; then windowstack.subviews[1].setParent(windows).&nbsp;&nbsp; <br><br>It says in docs chapter 32 states:<br><p>&quot;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&#39;s not).&quot; <br></p><p>I don&#39;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>