[REBOL] Re: Problems using view/new
From: jvargas:whywire at: 16-Apr-2003 11:12
Thanks this clarifies a lot and really helps. Cheers, Jaime
On Wednesday, April 16, 2003, at 03:01 AM, Anton wrote:
> This is normal. See the help on view:
> /new -- Creates a new window and returns immediately
> This means that it does not listen for events.
> Use do-events or wait none after view/new to "activate" the
> view/new layout [text "bonjour"]
> wait none
> view/new layout [text "hi"]
> If you are listening for events already, such as when
> you have opened a window with 'view, then it is not
> necessary to call do-events or wait none again:
> view layout [
> button 150 "open new window" [
> view/new center-face layout [area]
> Anton Rolls.
>> Does anybody has an explanation for this behavior:
>> d1: layout [
>> choice "one" "two" "three"
>> field 100x200
>> ; Display the window, and the face styles respond to events
>> view d1
>> ; However in this case there is no response to events
>> view/new d1
>> To me both should work, and I am puzzle by view/new freezing
>> when the window. Is this a bug or I am missing something?
>> Cheers, Jaime
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
-- The best way to predict the future is to invent it -- Steve Jobs