Re: Progress Bar Control?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I wrote a small "free floating" progress bar form. In order to make the
actual progress bar I used two shapes. I made the first shape a white
rectangle the height and width of the full progress bar. The second shape
is a blue rectangle that has a width of 1 and a left property of
whiterect.left+1 and matching height and top.

As the process runs, simple widen the blue rectangle.

For flare, I threw a label that slides from the far left of the progress bar
and finishes centered. If you want the code, email me at this address and I
will package it all up for you.

Scott


"Linn Kubler" <lkubler@xxxxxxxxxxxxxxxxxx> wrote in message
news:%23nl6pPjmGHA.1800@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

Running VFP 9.0, querying SQL Server 2000. My user wants to be able to
output a query result to Excel so I'm writing an automation routine to
handle that. It turns out that it takes quite a bit of time to populate
the Excel work*** so I thought I'd through a progress bar in for some
visual feedback. Problem is I can't figure it out.

There's nothing in the VFP help files that I can find. I couldn't figure
out how to use the foundation class, I want the progress bar on my form
not free floating. And when I simply add a progress bar activex component
I don't see any of the fields or methods I need and that are referenced in
all the literature I've found so far on the web. What am I missing here?

The examples I find make reference to min and max properties and update
and finished methods but I don't see any of these in the properties, what
gives? It just occured to me that maybe the properties window doesn't show
all the properties of an object but if this is the case where can I find
information on all the properties, methods and events of these objects?

Thanks in advance,
Linn




.


Quantcast