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

[ALLY] [REBOL]Keystroke test Re:

From: allenk:powerup:au at: 7-Aug-2000 11:47

Hi Tim, Is it running as a view window or console? If it is running in the console you can use Escape key to halt If it is running in a view window you can add you own event handler and call 'do-events in the loop to give view a chance to get the event. (haven't tested this) There is an entry in the FAQ for adding an event-handler You might might be able to avoid all that, by putting a label on the form with a shortcut key. layout [text #"q" "press q to halt" [halt]] Hope some of that helps.. Cheers, Allen K ----- Original Message ----- From: <[tim--johnsons-web--com]> To: <[ally--rebol--com]> Cc: <[ally--rebol--com]>