[REBOL] Re: Intercept key press
From: davidegessi:tin:it at: 13-Dec-2002 2:50
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
> Carl at REBOL
> Sent: giovedì 12 dicembre 2002 23.57
> To: [rebol-list--rebol--com]
> Subject: [REBOL] Re: Intercept key press
>
> You'd want to catch it with the Detect function, then return the event as
> the result to let it get processed normally. Detect works from the top
> down, whereas Engage works from the bottom up.
>
> PS: We are working on a new doc to explain all this in much more detail.
>
Umh, probably Carl you are a newbie like me in Rebol.... your answer didn't
work for me... :):):)
No, just kidding, but I feel I'll win the first prize for the worst
programmer of this ML ...
My code is:
view layout [f: field feel [detect: func [face event] [print ["event:"
event/type] event]]]
I'm using detect but seems that prints occour only with mouse event.
Davide