[REBOL] Re: Trapping for "Enter" in View.
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
> 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
>
> ----- Original Message -----
> From: "Jamey Cribbs" <[cribbsj--oakwood--org]>
> To: <[rebol-list--rebol--com]>
> Sent: Thursday, November 02, 2000 8:06 AM
> Subject: [REBOL] Trapping for "Enter" in View.
>
> > 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
> >
> > --
> > To unsubscribe from this list, please send an email to
> > [rebol-request--rebol--com] with "unsubscribe" in the
> > subject, without the quotes.
> >
> >
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Jamey Cribbs
Sr. Technical Consultant