How to set a field to Caps or TitleCaps
FlexibleLearning at aol.com
FlexibleLearning at aol.com
Wed Mar 12 04:39:43 EDT 2008
Duh! Thanks, guys... Too many late nights!
/H
I wrote:
> Anyone figured out how to force a field to display text as Caps only, or
as
> TitleCaps, whatever the state of the capsLock key, AND as the user is
typing?
> It's this last bit that has me beat at the moment.
>
> This doesn't work but I wish it did as a starting point...
> on keyDown tk
> put toUpper(tk) into tk
> pass keyDown
> end keyDown
Jacqueline wrote:
on keydown tk
put toUpper(tk) into the selection
end keydown
Mark Schonewille wrote:
on keyDown theKey
put toUpper(theKey) after me
end keyDown
More information about the use-livecode
mailing list