Is there a way to change between the installed keyboard layouts using livecode? (this is useful when you want the user to write in different languages in different fields)
Daniel
changing the keyboard layout?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: changing the keyboard layout?
As far as I'm aware the only way to do this would be to trap rawKeyDown and/or rawKeyUp in fields:
Here's the stack.
I'm afraid, for a whole keyboard this will involve a lot of work: I know because of my 8 year's work
on my Devawriter Pro:
http://andregarzia.on-rev.com/richmond/home.html
I'm a "lazy toad", so this stack will ONLY trap for the key that produces a "q" on an English-language keyboard ('a' on French and German ones).
Here's the stack.
I'm afraid, for a whole keyboard this will involve a lot of work: I know because of my 8 year's work
on my Devawriter Pro:
http://andregarzia.on-rev.com/richmond/home.html
I'm a "lazy toad", so this stack will ONLY trap for the key that produces a "q" on an English-language keyboard ('a' on French and German ones).
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: changing the keyboard layout?
The big ADVANTAGE of this method is that you can force whatever
keyboard layout you wish on your end-user, regardless of what
their "home" keyboard and/or keyboard layout is.
No more headaches any more.
keyboard layout you wish on your end-user, regardless of what
their "home" keyboard and/or keyboard layout is.
No more headaches any more.