[REBOL] Re: Catching the Close Event
From: greggirwin:mindspring at: 11-Jan-2003 20:45
puc> I want to catch the close event to save the position of the window when
puc> it is closed.
puc> I picked up the texchnique of inserting a global event to catch the close
puc> window event.
puc> But if I have more than 1 window open then how do I determine
puc> which window is being closed??
If you specify a block as the function you're inserting,
insert-event-func will automatically convert it to a function with
func [face event]
So you can examine the FACE value value to see who it is.