How to set a field to Caps or TitleCaps

FlexibleLearning at FlexibleLearning at
Wed Mar 12 04:39:43 EDT 2008

Duh! Thanks, guys... Too many late nights!
I wrote:
> Anyone figured out how to force a field to   display text as Caps only, or 
> TitleCaps, whatever the state of the  capsLock key, AND as the user is 
> 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