Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Our progress meter tool

$
0
0
Re: Our progress meter tool
FoxInCloud
Re: Our progress meter tool
06/06/2012
05:48:56 AM
3IQ0CGRKO Show this entire thread in new window
Gratar Image based on email address
From:
Tuvia Vinitsky
To:
Attachments:
None
If you look at the picture, you will see the look we are going for.

In the code I posted is a javascript timer window.setTimeout. That calls a one time timer. Then in the code that runs, after we do what we want, we set it again. There really is no javascript timer per se, but by resetting the setTimeout, we emulate one. Maybe I will setup a demo on our servers later today, just a form with some buttons and progress bars.


If anyone is curious how we did it, we rolled a very nice progress meter of our own with no need for sending off asynchronous events. Here is what we did:

1. When a VFP loop wants to start a progress meter (PM for short), it does two things:
a. it writes with strtofile a small text file with a "1" in it and saves it under the user or session id.
b. calls the PM form, which looks like this initially:


Viewing all articles
Browse latest Browse all 10393

Trending Articles