libURLSetStatusCallback
jhonken
jhonken at webdsp.com
Thu Nov 9 12:23:37 EST 2006
Dave,
Again that worked great. I'm going to try to feed it into a progress
bar next. Jeff
-----Original Message-----
From: Dave Cragg [mailto:dcragg at lacscentre.co.uk]
Sent: Thursday, November 09, 2006 10:53 AM
To: How to use Revolution
Subject: Re: libURLSetStatusCallback
On 9 Nov 2006, at 14:55, jhonken wrote:
> Dave,
> Thanks that works great. I'm still not understanding how the
> "libUrlSetStatusCallback works. I've been reading the docs and I keep
> getting an error with the following test code:
>
> libURLSetStatusCallback "myProgress",the long ID of me
>
> go stack URL "http://www.x12help.com/mystack.rev" in a new window
>
> put myProgress into fld "tester"
>
>
>
> I have a button that is executing the code above and an empty field
> called "tester".
myProgress is the name of a handler (message). Try something like this:
on mouseUp
libURLSetStatusCallback "myProgress",the long ID of me
go stack URL "http://www.x12help.com/mystack.rev"
end mouseUp
on myProgress pUrl, pStatusString
put pStatusString into field "tester"
end myProgress
Cheers
Dave
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list