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

[REBOL] Re: Cursor keys on a list (/view)

From: cybarite:sympatico:ca at: 10-Sep-2001 20:52

Have a look at the calculator script by Jeff Kreis in the rebol script library. It shows how to re-act to all of the numeric keys plus "+", "-" .... If you do not want a visible key, then you can link the keycodes to a sensor { ===Sensor ---Purpose A sensor is an invisible user interface element. Using a sensor only makes sense in a few instances. If you want a keycode action where there is no visible user interface element to link the action to then a sensor can be used. This sensor code adds an Escape or Back or Enter action that will close the window. sensor 1x1 keycode [#"^M" #" " #"^(back)" #"^(ESC)"] [unview] } At 09:58 AM 9/10/01 -0700, you wrote: