<div dir="ltr">I fixed that, but it still doesn't run that method when I enter text into the `TextModelMorph`.<div>I attached a fileOut of my `MorphicDemos` class.</div><div>You can run the demo by entering `MorphicDemos new` and "Do it".</div><div>It will render a `LayoutMorph` containing a `TextModelMorph` and a `LabelMorph`.</div><div>I want the `LabelMorph` to be updated as the value in the `TextModelMorph` is changed.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 11, 2024 at 1:12 AM Bernhard Pieber via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<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 style="line-break:after-white-space">Well, you specified that the textSetter is #name, so that is sent. I guess #name: is what you wanted.<div><br></div><div>Cheers,</div><div>Bernhard</div><div><br id="m_2516056634387094854lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>Am 10.06.2024 um 19:01 schrieb Mark Volkmann via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>>:</div><br><div><div dir="ltr">I'm learning how to use a `TextModelMorph`.<div><br></div><div>I have this in an instance method and it renders fine:</div><div><br></div><div><font face="monospace">textMorph := TextModelMorph<br>              textProvider: self<br>            textGetter: #name<br>             textSetter: #name .</font></div><div><br></div><div>The class defines the instance methods `name` and `name: aString`.</div><div>But when I modify the value in the TextModelMorph, the `name: aString` method is not called.</div><div>Shouldn't it do that?<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>
</div></blockquote></div><br></div></div>-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><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>