Thanks Kurt and Colin,

but my problem was not the conversion itself, but the fact, that I want to
make that kind of input checking and correction while the user is typing in
an editable text field.

In the keyDown handler, I can test if a key is allowed and then pass it on
so that it is "printed" in the text field, or I can stop the event so the
key is not printed in the text field.

But how can I pass another character to the text field as the one that was
entered?

I tried modifiying the text field after the lowercase character was passed
to the text field, but at the moment ot the execution of my on keyDown
handler, just after the command "pass", the "new" character isn't yet in the
text property of the field member.

And if I don't pass any characters but add the characters with the line

member("input").text = member("input").text & the key

who will move the text cursor?



Thanks
Michael


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to