AW: AW: rawkeydown and numtochar don't work as expected

Richmond Mathewson richmondmathewson at gmail.com
Fri Jul 17 11:17:30 EDT 2009


Tiemo Hollmann TB wrote:
> Thanks for the idea Richmond, I have to try how to arrange with my
> rawkeydown
> Tiemo
>
>   
Why is it so important that you use rawKeyDown rather than keyDown ?
>> -----Ursprüngliche Nachricht-----
>> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
>> bounces at lists.runrev.com] Im Auftrag von Richmond Mathewson
>> Gesendet: Freitag, 17. Juli 2009 15:36
>> An: How to use Revolution
>> Betreff: Re: AW: rawkeydown and numtochar don't work as expected
>>
>> Tiemo Hollmann TB wrote:
>>     
>>> Hi Richmond,
>>> thats exactly, what I've done (exept it were two fields), but testing
>>>       
>> your
>>     
>>> approach gives me my same (wrong) result.
>>> I am working with Rev 3.5 on Win XP, german keyboard
>>> ? returns: {
>>> ; returns: <
>>> : returns: >
>>> ( returns: *
>>> ß returns: [
>>>
>>> any idea, what is going wrong here?
>>> Thanks
>>> Tiemo
>>>
>>>       
>> Well, I just tried this:
>>
>> Opened up my trial stack with the Bulgarian keyboard layout:
>>
>> now when I press the key that should give me '?' I get something else.
>>
>> This is because rawKeyDown gives you the underlying key, not what is
>> specified by your keyboard layout; and as Windows XP and Mac are made
>> in North America, the underlying key is the standard USA key.
>>
>> HOWEVER . . .
>>
>> on keyDown QUAY
>>   put QUAY into fld "PROB"
>> end keyDown
>>
>> will do what you want it to.
>>
>> Love, Richmond.
>>
>>     




More information about the use-livecode mailing list