r/simpleios • • Oct 24 '11

[Question] Text Box key processing

This should be a simple thing but I haven't been able to figure it out or find a good tutorial on how to do it. I have a text box that needs to process the data as it comes in, one character at a time. For example, say the text box will not allow vowels. Thus if the user types "Hello" only "Hll" will show up in the text box. I know I can use the validation routines and I've done that, but they only trigger when the text box loses focus, I would like it to happen as the text is being entered.

Anyone have an example of this type of processing?

4 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 24 '11

No worries :)