In a message dated 2/29/2004 7:31:49 AM Eastern Standard Time, 
[EMAIL PROTECTED] writes:
>That's a nice method but i would prefer to activate the CAPS-LOCK and user
>write in capitals in my text entry widget

 
I can't think of how (or why) you'd want to do that. If you want them to type 
in caps, just turn the data to upper case when you need it. 

If you really really want to do that then you probably have to do a binding 
on any keypress in the text widget to change everything to upper case. That's 
the only way I can think to do it, but I'm not super up on my Tk. My method is 
slow, especially for a lot of stuff, and unnecessary since you can change it 
all to upper case after they say they're done.


-Will
-----------------------------------
Handy Yet Cryptic Code. 
Just to Look Cool to Look at and try to decipher without running it.

Windows
perl -e "printf qq.%3i\x20\x3d\x20\x27%c\x27\x09.,$_,$_ for 0x20..0x7e"

Unix
perl -e 'printf qq.%3i\x20\x3d\x20\x27%c\x27%7c.,$_,$_,0x20 for 0x20..0x7e'

Reply via email to