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

[REBOL] Re: Trapping for "Enter" in View.

From: allen:rebolforces at: 2-Nov-2000 11:34

Hi Jamey, You can trap it the same way as the others, you just need to know its character. (#"^M" is the character representation for Return) view layout [button #"^M" "Enter" [request/ok "test"]] One thing to look out for though, FIELD will autmoatically trap Enter/Return key if it has a coresponding action block. So beware of any clashes over the key. Cheers, Allen K