[REBOL] Re: ports and layout
From: carl:cybercraft at: 30-Jul-2001 0:31
On 29-Jul-01, Fantam wrote:
> Hello all,
> I have a layout with buttons that in turn launch functions which
> involve internet activity.
> As long as there is internet activity, gui events are blocked. I
> browsed the list archive and found many messages related to this,
> but I'm still confused.
So am I. (: However, read-net will allow you to read files from the
Net while leaving your GUI active, so have a look at it...
>> ? read-net
READ-NET url /progress callback
Read a file from the net (web). Update progress bar. Allow abort.
READ-NET is a function value.
url -- (Type: url)
callback -- Call func [total bytes] during transfer. Return
true. (Type: any)
> Do I have to use 'dispatch on network and gui ports?
> Should I wait for next rebol release with async feature?
> By the way, Allen Kamp's "View Peer Chat Demo" that addresses
> these issues seems broken in current /View:
> REBOL [
> Title: "View Peer Chat Demo"
> Author: "Allen Kamp"
> Purpose: "Simple peer-to-peer chat in View"
> status: "prototype"
> ** Script Error: Out of range or past end
> ** Where: func [/local event][
> event: first event-port
> if event/type = 'close [quit]
> do event
> ** Near: event: first event-port
> if event/type
> Thanks in advance, fantam