Bruce,

I'm working on something similar. When you write that you have a "list of 
patent numbers processed by a .lc or .irev page" do you mean that you are going 
out to fetch the patents each time, or will all the data be on your server? The 
reason I ask is if the data is on your server it might be better to attack the 
user delay in your code, rather than work on a progress bar.

For example, I'm presenting 993 titles of videos; all in a similar format, but 
the whole list is different each time. When I started out it took about 6 
seconds from button click to the list appearing. After setting up a poor man's 
index and retooling a few loops I've gotten the return trip down to about 50 
milliseconds -- good enough for government work.

Mike


--- On Sat, 8/6/11, Bruce Pokras <bruc...@comcast.net> wrote:

From: Bruce Pokras <bruc...@comcast.net>
Subject: Any way to show progress while an ON-REV page is processing a script?
To: "How to use LiveCode" <use-livecode@lists.runrev.com>
Date: Saturday, August 6, 2011, 11:46 AM

I have a form that uses POST to get a list of patent numbers processed by a .lc 
or .irev page. Right now, the whole list has to be processed before the user 
sees that anything has happened. In my case, once all the patent numbers have 
been processed, the user will see a page of tables with information about each 
patent. In my revlet version of this process, it was easy to have a field 
display the progress of the processing with 1 of 20, 2 of 20, 3 of 20, etc. 
being displayed in a field as the processing of each patent took place. 

Is there any way to display a progress indicator while the .lc or .irev page is 
processing the patent numbers? I have tried a couple of things, such as having 
a separate "put" command for each patent, but nothing is displayed until all of 
the patents have been processed.

Regards,

Bruce Pokras
Blazing Dawn Software
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to