Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : MM Caps-Lock to Upper-Case?
Author | Message | ||||
Nixie Regular Member Joined: 19/02/2013 Location: AustraliaPosts: 66 |
Greetings All! I have a couple of questions. Is there any way to check (using software ) to see if the Caps-Lock Key is On? and; Is there any way to "lock" it into Upper-Case...well, for the duration of the program? Many thanks in advance, Nic. VK3COW |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
At this time the answer is no to both questions. I have a new version of MMBasic (which will be out in a few days) and it operates the Caps Lock LED on the keyboard - but that does not help if you want to detect it in software. If you wanted all input to be in upper case you could use the UCASE$() function on any input. That would give a similar result to forcing caps lock. Geoff Geoff Graham - http://geoffg.net |
||||
Nixie Regular Member Joined: 19/02/2013 Location: AustraliaPosts: 66 |
Geoff, many thanks for that. I can use that as a "work around" ..... In fact, after more scratching and thinking, the UCASE$() function may be a much better option. Yes! Great! Nic |
||||
Print this page |