Allow uppercase only in a field

Richmond Mathewson geradamas at yahoo.com
Tue May 9 05:05:04 EDT 2006


It seems that you have done the donkey work already:

"

I have a field where users can type, but I only allow some letters &
symbols through and then I want them all to be uppercase, although I
want to allow the users to be able to type in lower case.

I have the restricted characters working fine in a keyDown handler,
and I have the field changing to upper case in the keyUp handler, but
I still see the lower case letter briefly before it changes.

What I REALLY want is to change the keyDown parameter as I pass it."

you could CHEAT and just use 'lockscreen' so that the lower case letters are not seen by the end-user
before they are changed to upper-case letters.

sincerely, Richmond Mathewson



____________________________________________________________

"Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases."
                                       Mathewson, 2006
____________________________________________________________
Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the use-livecode mailing list