<div dir="ltr"><div dir="ltr">On Sun, Sep 22, 2024 at 8:33 PM Juan Vuletich <<a href="mailto:juan@cuis.st">juan@cuis.st</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
On 9/22/2024 9:11 PM, Mark Volkmann via Cuis-dev wrote:
<blockquote type="cite">
<div dir="ltr">I have an app that no longer runs with the latest
Morphic updates.
<div>The <font face="monospace">LayoutMorph</font> method <font face="monospace">addMorphFront:</font> sends <font face="monospace">#isPlacedMorph</font> to its argument.</div>
<div>In my case that is an instance of <font face="monospace">TextEntryMorph</font>.</div>
<div>This results in a MessageNotUnderstood error because <font face="monospace">TextEntryMorph</font> no longer supports
the message <font face="monospace">#isPlacedMorph </font>(Did
it previously?).</div>
<div>I see that the class <font face="monospace">TextEntryMorph</font>
is a subclass of <font face="monospace">ProtoObject</font>
and not <font face="monospace">Morph</font>.</div>
<div>That explains why it doesn't find the <font face="monospace">isPlacedMorph</font> method.</div>
<div>How should I fix this?<br clear="all">
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div><font face="arial, helvetica, sans-serif">R.
Mark Volkmann</font></div>
<div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object
Computing, Inc.</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
You're trying to make a subclass of a class that no longer exists.</div></blockquote><div><br></div><div>I don't think I'm doing that. My app defines these classes:</div><div><br></div><div>- BasicButtonMorph is a subclass of ProtoObject</div><div>- BasicCheckboxMorph<span class="gmail-Apple-converted-space"> </span>is a subclass of ProtoObject</div><div>- EditableLabelMorph<span class="gmail-Apple-converted-space"> </span>is a subclass of LayoutMorph</div><div>- Todo<span class="gmail-Apple-converted-space"> </span>is a subclass of Object</div><div>- TodoApp<span class="gmail-Apple-converted-space"> </span>is a subclass of Object</div><div>- TodosPane<span class="gmail-Apple-converted-space"> </span>is a subclass of LayoutMorph</div><div><br></div><div>Which of my classes did you suspect was a subclass of a non-existent class? </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#ffffff">There recent changes in the Morphic hierarchy were discussed in this
mail list. Please find and read those messages.</div></blockquote><div><br></div><div>I did read through the recent posts and nothing obvious jumped out for me.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#ffffff">Alternatively, you can use the system itself, explore it, and see
what new classes replace those no longer available.<br></div></blockquote></div><div><br></div><div>This short bit of code demonstrates the problem and results in "MessageNotUnderstood: TextEntryMorph>>isPlacedMorph":</div><div><br></div><div>lm := LayoutMorph newRow.<br>tem := TextEntryMorph contents: ''.<br>lm addMorph: tem<br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div>