Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 10:55 30 Apr 2024 Privacy Policy
Jump to

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: Australia
Posts: 66
Posted: 12:24am 30 Oct 2013
Copy link to clipboard 
Print this post

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: Australia
Posts: 3165
Posted: 12:49am 30 Oct 2013
Copy link to clipboard 
Print this post

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: Australia
Posts: 66
Posted: 01:06am 30 Oct 2013
Copy link to clipboard 
Print this post

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


To reply to this topic, you need to log in.

© JAQ Software 2024