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

[REBOL] Re: Problems using view/new

From: antonr:iinet:au at: 16-Apr-2003 17:01

This is normal. See the help on view: (excerpt) REFINEMENTS: /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 window: view/new layout [text "bonjour"] wait none view/new layout [text "hi"] do-events 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.