Hi Mark,

I have been using the rawkey handlers for handling a password field, but since 
this seems to be unreliable for German characters I will rework my password 
field with Trevors "passwordFont" approach.

Thanks
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Mark Waddingham via use-livecode
Gesendet: Dienstag, 21. März 2017 19:03
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Mark Waddingham <m...@livecode.com>
Betreff: Re: rawKeyUp/Down give different keys for same char since LC 8

Hi Tiemo,

On 2017-03-21 17:40, Tiemo Hollmann TB via use-livecode wrote:
> Testing on Win 10, IDE: up to LC 6.7 special chars, as German Umlaute 
> gave the same key in rawKeyUp and rawKeyDown, e.g.
> 
> ä = 39, ü = 59, ö = 96, ß = 91
> 
> in LC 8 and 9 the rawKeyUp are still the same, but in rawKeyDown I now
> get:
> 
> ä = 228, ü = 252, ö = 246, ß = 223
> 
> Is there any plausible explanation or reason why this had to be 
> changed, or is this a bug?

This looks like a bug to me - the key codes in rawKeyDown and rawKeyUp should 
match and be the code of the key, not the translated character.

Out of interest, what are you using the rawKey messages for?

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to