Re: libURLSetStatusCallback

2006-11-09 Thread Dave Cragg


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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: libURLSetStatusCallback

2006-11-09 Thread jhonken
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:[EMAIL PROTECTED] 
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution