[Xerte] Re: Desktop - default action key for text entry?
Julian.Tenney at nottingham.ac.uk
Mon Feb 11 09:48:38 GMT 2013
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;
Now how do I stop the flow until Enter is pressed?
Evaluating keys is no good as it pulls focus from the text input. :-/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xerte