[REBOL] Re: [view] Problems with /new and not /new
From: moliad:aei:ca at: 14-Aug-2004 11:05
Gabriele Santilli wrote:
> Hi Maxim,
> On Saturday, August 14, 2004, 6:38:03 AM, you wrote:
> MOA> when a button opens a window without the /new , it
> MOA> actually adds a new event handler.
> Actually, no. It starts a new handler for the first window only.
> Try this at the console:
> view layout [text "hello"]
> (now press ESC)
> view layout [text "hello 2"]
> A new VIEW replaces the first window and does not wait. (See the
> source for details. :)
Although this SHOULD be true, when working on early versions of glayout, what I described
above actually happened... opening a new window would take up ~5 MB all the time.
I had done tests using standard VID and it was doing the problem on its own...
but the window had to be started from within the ui, while the ui handler was alive.
Can't explain it... only describe it :-)