[ALLY] Re: More on Do's and Views
From: rgombert::essentiel::net at: 26-Apr-2001 10:07
just use view/new
REBOL []
i: 0
forever [
wait 1
i: i + 1
a: read %file.txt
if not empty? a [
view/new/offset layout [
text a
button "QUIT" [quit]
] (10x20 + (i * 15x15))
]
]
----- Original Message -----
From: "Terry Brownell" <[tbrownell--yahoo--com]>
To: <[ally-list--rebol--com]>
Sent: Thursday, April 26, 2001 9:21 AM
Subject: [ALLY] More on Do's and Views
> Hi.
>
> The main snag I hit is after ive "viewed" another pane, the parent script
ceases to function... until the viewed window is closed.
> For exampe, a script that continuosly reads a .txt file and pops up any
text it finds. (below) Now you would think that this script would launch one
window every second with the contents of the .txt file displayed, but it
doesn't... not until you close the viewed window. How would you get this
script to just keep opening windows with any new .txt data???