Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: keycodes

From: allenk:powerup:au at: 23-Apr-2001 18:56

Hi Graham, Instead of fish, I'll give you a fishing rod. :-) 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