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