[REBOL] Re: keycodes
From: gjones05:mail:orion at: 23-Apr-2001 6:45
From: "Allen Kamp"
<snip>
> Run this code to see the chars and keycodes as you type them (the window
> must have focus)
>
> REBOL []
> key-event: func [face event] [
> if event/type = 'key [
> print mold event/key
> ]
> event
> ]
> insert-event-func :key-event
> view layout [
> text {Type and see the char or keycode printed in console}
> button "Remove Event & Close" 200 [remove-event-func
:key-event
> unview/all]
> ]
>
> Cheers,
>
> Allen K
Hey, that's a nifty program. Thanks. I guess that the Alt keys are just
not "recognized".
--Scott Jones