James Edward Gray II said: > On Feb 29, 2004, at 6:30 AM, John wrote: > >> 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 would prefer you didn't. ;) > > The keyboard takes commands from me, not the computer. If a program > started monkeying with my control of such a device, it would find my > trash can, mighty quick.
Come on people. Maybe John has a good reason for wanting Caps Lock to be on. I have also written a Perk/Tk program in which I would like to control Caps Lock. The program is used as part of a programme to help people with dyslexia improve their reading skills. In part this involves displaying text on the screen and having the student type it in. In the very early stages of the program the letters on the screen need to match those on the keyboard - that is they need to be uppercase - otherwise the student may have problems locating the correct key to press. Obviously, at this sort of level it is not desirable to have the student also hold down the Shift key. I have solved this by accepting lowercase input as uppercase, and in my case this works well as I am not using a text entry widget, but a Caps Lock solution might also be nice. Unfortunately, I don't think a cross platform solution exists, but if anyone knows of one, or if John tells us which platform he is concerned about and anyone knows of a solution for that platform, please speak up. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>