Hi Maxim,
On Wednesday, January 21, 2004, 10:12:47 PM, you wrote:
MOA> but I noticed I have to patch in-window? cause there is a bug in it (v1.2.10)!
MOA> if you source the code, you will notice that the last
MOA> call to in-window is incorrectly typed as in-window instead
MOA> of in-window?
Yu
ion, but in the end, being
part of the problem is much more fun."
> -Original Message-
> From: Gabriele Santilli [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 21, 2004 4:05 AM
> To: Maxim Olivier-Adlhoch
> Subject: [REBOL] Re: key events... hacking...
>
Hi Maxim,
On Wednesday, January 21, 2004, 12:23:35 AM, you wrote:
MOA> Is anyone capable of getting keyboard events for faces
MOA> which are not "focused", short of rewriting the whole event
MOA> handler?
This is a modified window feel I use in some applications; it
allows to focus any fac
Hi Max,
MOA> Does the return value indicate if the event should be passed
MOA> along to the next event handler? or anything of the like...
Yes. You are hooking into an event chain so you must return the event
itself. e.g.
insert-event-func func [face event] [
print [event/1 event/2 event/
e fun."
> -Original Message-
> From: Ammon Johnson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 20, 2004 8:19 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: key events... hacking...
>
>
>
> Try something like:
>
> insert-event-func func [
>
Try something like:
insert-event-func func [
face event
][
If event/type = key [
;do something
]
]
HTH
~~Ammon ;->
- Original Message -
From: "Maxim Olivier-Adlhoch" <[EMAIL PROTECTED]>
To: "Rebol-List (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004