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 don't think anyone said the caps lock should never be on. We were only saying that it should be controlled by the user, who can turn it on or off whenever she wants.
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.
You might always ask the user to turn it on if it was off, if that is really necessary. That is the only cross-platform solution I can think about.
--
ZSDC
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>