Trapping for "Enter" in View.
[1/3] 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
[2/3] from: cribbsj::oakwood::org at: 1-Nov-2000 17:06
Thanks to reading the manual and help from people on this list, I have figured
out how to trap for keycode's like Page Up, End, Home, etc.
But, does anyone know how to trap for "Enter"?
Thanks.
--
Jamey Cribbs
[3/3] from: cribbsj:oakwood at: 2-Nov-2000 16:44
Thank, Allen. That did the trick!
On Wed, 01 Nov 2000, you wrote:
> Hi Jamey,
> You can trap it the same way as the others, you just need to know its
<<quoted lines omitted: 31>>
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Jamey Cribbs
Sr. Technical Consultant
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted