<div dir="ltr">That approach works, but in my specific case I need to detect the escape key. Here is what I tried:<div><br></div><div>te := TextEntryMorph contents: 'change me'.<br>te setProperty: #keyStroke: toValue: [ :event | event keyValue print ].<br>te openInWorld.<br></div><div><br></div><div>When I move focus to the TextEntryMorph and press the escape key, 27 is displayed in the Transcript which is great. But it also displays a menu containing the Copy, Cut, and Paste options. For my use case I'd like to find a way to prevent that. I've spent some time searching the code to discover where that happens, but I haven't found it yet.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 29, 2024 at 2:56 AM Hilaire Fernandes <<a href="mailto:hfern@free.fr">hfern@free.fr</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">Hi Mark,<br>
<br>
Le 26/08/2024 à 01:30, Mark Volkmann a écrit :<br>
> I need to learn how to create a change set for Cuis Smalltalk. Are the <br>
> steps documented somewhere?<br>
<br>
In the Cuis Book, there is a section, not very detailed but it should <br>
cover the essential.<br>
<br>
However I am realizing you don't need to modify the class, just do:<br>
<br>
aTextEntry setProperty: #keyStroke: toValue: [:event |<br>
" do what you need to be done].<br>
<br>
Hilaire<br>
<br>
-- <br>
GNU Dr. Geo<br>
<a href="http://gnu.org/s/dr-geo/" rel="noreferrer" target="_blank">http://gnu.org/s/dr-geo/</a><br>
<a href="http://gnu-drgeo.blogspot.com/" rel="noreferrer" target="_blank">http://gnu-drgeo.blogspot.com/</a><br>
<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>