Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: listen to events only for a specific window?

From: g:santilli:tiscalinet:it at: 13-Jul-2001 19:43

Hello Anton! On 13-Lug-01, you wrote: A> I'm sorry, but in both these examples A> the original window still receives A> events. [...] You really want to block the window out? I used a nice trick lately to do that (I wasn't using INFORM for other reasons). I did something like: layout [at 0x0 blocker: box effect [grayscale]] busy-win: func [win] [ append win/pane make blocker [size: win/size] ] free-win: func [win] [ ; WIN must have been blocked first! remove back tail win/pane ] This as the nice visual effect of turning blocked windows into grayscale. :-) Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila --