<html>
<body>
<font size=3>Hi,<br><br>
I have the following simple code in a PasteUpMorph subclass:<br><br>
&nbsp;&nbsp; </font><tt>symbol := MyMorph
new.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; create &quot;<br>
&nbsp;&nbsp; symbol
openInHand.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; place &quot;<br>
&nbsp;&nbsp; (self submorphs includes: symbol true) &quot; use
&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ifFalse: [self error]<br><br>
</i></tt><font size=3>I get the error because
</font><tt>HandMorph&gt;&gt;openInHand</i></tt><font size=3> digresses
into the jungle on a separate thread to make me place the symbol.<br>
&nbsp;<br>
</font><tt>self submorphs</i></tt><font size=3> is executed before
<i>openInHand </i>is completed, which is before <i>symbol </i>is added to
<i>submorphs</i>.<br><br>
Any way I can wait for <i>HandMorph&gt;&gt;openInHand</i> to
complete?<br><br>
Cheers<br>
--Trygve<br><br>
<x-sigsep><p></x-sigsep>
-- <br><br>
Trygve Reenskaug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mailto: trygver &lt;at&gt;
ifi.uio.no<br>
Morgedalsvn. 5A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://heim.ifi.uio.no/~trygver" eudora="autourl">http://heim.ifi.uio.no/~trygver</a><br>
N-0378 Oslo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Tel: (+47) 22 49 57 27<br>
Norway<br>
</font></body>
<br>
</html>