<div dir="ltr"><div>#EventHandler halts with this warning from the method #on:send:to:withValue:</div><div><br></div>How does this work? I can't find an example.<div><br></div><div>I am trying to learn how to use TextMorph in an application. My simple test case is a morph containing two TextMorphs. I want the second morph to contain the contents of the first morph when that morph loses focus.</div><div><br></div><div>start -------------------</div><div><div>|borMor tMor1 tMor2 |</div><div><br></div><div>borMor := BorderedMorph new.</div><div>borMor color: Color white.</div><div>borMor width: 44.</div><div>tMor1 := TextMorph new.</div><div>tMor1 contents: 'Hello World!'.</div><div>tMor2 := TextMorph new.</div><div>tMor2 contents: '?????'.</div><div>tMor1 addDependent: tMor2.</div><div><br></div><div>borMor  layoutPolicy: TableLayout new;</div><div><span style="white-space:pre">        </span> listDirection: #leftToRight;</div><div><span style="white-space:pre"> </span> wrapCentering: #topLeft;</div><div><span style="white-space:pre">     </span> hResizing: #spaceFill;</div><div><span style="white-space:pre">       </span> vResizing: #spaceFill;</div><div><span style="white-space:pre">       </span> layoutInset: 2;</div><div><span style="white-space:pre">      </span> rubberBandCells: true.</div><div><br></div><div>borMor addMorph: tMor1. </div><div>tMor1 addDependent: tMor2.</div><div>borMor addMorph: tMor2.<span style="white-space:pre">      </span></div><div>tMor1 on: #mouseLeave send: #contents: to: tMore2 withValue: #(tMor1 contents nil).<span style="white-space:pre">   </span></div><div><br></div><div><br></div><div>borMor openInWorld.</div><div><br></div><div>end -----------------</div><div><br></div><div>This may not be the best way to approach the problem, but I would like to know how to use the method in any case.</div><div><br></div><div>Thanks,</div><div><br></div><div>jrm</div><div><br></div><div><br></div></div></div>