Is there a way to put keystrokes into the keyboard buffer?

Failing that, is there a way to find out where the insertion point is 
during user input in an editable text field?

I need to translate the user's input in a text field. E.g., when the user 
hits the "F" key, I want character ANSI 128 to be typed instead of the 
letter "F". If the insertion point is at the end of the field, I can simply 
do this:

member("InputField").text = member("InputField").text & NumToChar(128)

But if the user has typed a string, and then moved the insertion point to 
some place in the middle of the text, I need to know where it is, before I 
can rewrite the text.

It would be even better if I could put character 128 in the keyboard buffer 
and let it go wherever untranslated input would go.

Any tips would be appreciated,

Slava


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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