<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Yes.<div>I ended up with an off screen button that I onRelease after trapping the ENTER key.</div><div><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Mon, 11 Feb 2013 09:48:38 +0000<br>Subject: [Xerte] Re: Desktop - default action key for text entry?<br><br><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass pre
{font-size:10.0pt;font-family:"Courier New";}
.ExternalClass span.ecxHTMLPreformattedChar
{font-family:Consolas;}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxmsoacetate, .ExternalClass li.ecxecxmsoacetate, .ExternalClass div.ecxecxmsoacetate
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxballoontextchar
{;}
.ExternalClass span.ecxecxemailstyle19
{;}
.ExternalClass span.ecxecxhtmlpreformattedchar
{;}
.ExternalClass span.ecxecxemailstyle22
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{font-size:11.0pt;font-family:"Calibri","sans-serif";}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxecxmsoacetate1, .ExternalClass li.ecxecxmsoacetate1, .ExternalClass div.ecxecxmsoacetate1
{font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxecxballoontextchar1
{font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxecxemailstyle191
{font-family:"Calibri","sans-serif";color:#244061;}
.ExternalClass span.ecxecxhtmlpreformattedchar1
{font-family:Consolas;}
.ExternalClass span.ecxecxemailstyle221
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{font-size:10.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxEmailStyle38
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}

--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Step back a bit – what are you trying to do? Trip a textEntry response on the enter key?</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 10 February 2013 17:02<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Desktop - default action key for text entry?</span></p></div></div><p class="ecxMsoNormal" style=""> </p><div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Did the engine ever get this added?</span></p><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">I saw a hint of it in the archives, but nothing definitive.</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Or some way to trip and interaction without taking the focus away.</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">I set up a textinput in a text icon:</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt._height = 20;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt._width = 300;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt.background = true;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt.border = true;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt.type = 'input';</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt.selectable = true;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt.maxChars = 40;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt.multiline = 0;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">myTF = new TextFormat();</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">myTF.font = "Verdana";</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">myTF.size = 14;</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">icontextentry.txt.setNewTextFormat(myTF);</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">setFocus(icontextentry.txt);  </span></p></div></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Now how do I stop the flow until Enter is pressed?</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Evaluating keys is no good as it pulls focus from the text input. :-/</span></p></div><div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div></div></div></div>
<br><br>
<br><br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte</div></div>                                      </div></body>
</html>