[REBOL] Re: Intercept key press
From: carl:s:rebol at: 12-Dec-2002 14:56
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.
At 06:19 PM 12/12/02 +0100, you wrote:
>Hi all,
>sorry for the beginner question..
>I'm making my first Rebol app, a msn messenger clone. It's in early stage
>stage of developing but is working ! :)
>A nice feature of the protocol of msn messenger is the information about the
>other user "is typing a message" (so one would wait for an answer), so how
>can I intercept the key press in a field ?
>The problem is:
>if I rewrite the "engage" object I can intercept the key but the standard
>handler isn't called, how can I call the standard edit handle for a field
>from the engage event ?
>
>Thanks all in advance
>
>Davide
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.427 / Virus Database: 240 - Release Date: 06/12/2002
>
>--
>To unsubscribe from this list, please send an email to
>[rebol-request--rebol--com] with "unsubscribe" in the
>subject, without the quotes.
-Carl
REBOL Chief