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

[REBOL] Comparing faces.

From: gchiu:compkarori at: 11-Feb-2004 1:16

Bruno G. Albuquerque wrote.. apparently on 10-Feb-2004/15:27:30-2:00
>So, I have this application that have 2 windows and I want to trap the >'close event on them. I am doing something like this: > >main-window: layout [ ... ] >other-window: layout [ ... ]
I haven't done this stuff for a while, but looking at my old code, I found this if e/type = 'close [ switch e/face/data [ "chatwindow" [ quit-prg ] "gomokuboard" [ do-something-else] ] -- Graham Chiu http://www.compkarori.com/cerebrus