[Xerte] Re: Desktop - default action key for text entry?

Dave Burnett d_b_burnett at hotmail.com
Mon Feb 11 10:23:40 GMT 2013

Yes.I ended up with an off screen button that I onRelease after trapping the ENTER key.

From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Mon, 11 Feb 2013 09:48:38 +0000
Subject: [Xerte] Re: Desktop - default action key for text entry?

Step back a bit – what are you trying to do? Trip a textEntry response on the enter key? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 10 February 2013 17:02
To: Xerte list
Subject: [Xerte] Desktop - default action key for text entry?  Did the engine ever get this added?I saw a hint of it in the archives, but nothing definitive. Or some way to trip and interaction without taking the focus away. I set up a textinput in a text icon: icontextentry.txt._height = 20;icontextentry.txt._width = 300;icontextentry.txt.background = true;icontextentry.txt.border = true;icontextentry.txt.type = 'input';icontextentry.txt.selectable = true;icontextentry.txt.maxChars = 40;icontextentry.txt.multiline = 0;myTF = new TextFormat();myTF.font = "Verdana";myTF.size = 14;icontextentry.txt.setNewTextFormat(myTF);setFocus(icontextentry.txt);    Now how do I stop the flow until Enter is pressed? Evaluating keys is no good as it pulls focus from the text input. :-/   

Xerte mailing list
Xerte at lists.nottingham.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130211/c8b327fb/attachment.html>

More information about the Xerte mailing list