[REBOL] Re: key events... hacking...

2004-01-22 Thread Gabriele Santilli
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

[REBOL] Re: key events... hacking...

2004-01-21 Thread Maxim Olivier-Adlhoch
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... >

[REBOL] Re: key events... hacking...

2004-01-21 Thread Gabriele Santilli
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

[REBOL] Re: key events... hacking...

2004-01-20 Thread Gregg Irwin
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/

[REBOL] Re: key events... hacking...

2004-01-20 Thread Maxim Olivier-Adlhoch
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 [ >

[REBOL] Re: key events... hacking...

2004-01-20 Thread Ammon Johnson
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