Subject Re: How to flash a message without waiting
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Mon, 8 Nov 2021 12:13:01 -0800
Newsgroups dbase.getting-started

On 11/8/2021 10:46 AM, Milind Nighojkar wrote:
> Hi Ken,
> Great help... It did resolved the issue
> Tons of thanks for educating me as well
>
> Only one observation...progress bar is now visible however The animation of running progress green bar is not seen...any pointer?

It changes when you tell it to.

See Mervyn's example that loops through a table. Copy it to a folder
somewhere and run it ...

The problem with the code you posted is that you're setting the value at
two different points, and that's it, so it jumps from 0 to the first
value, and from the first value to the second, and then when done the
form closes.

And with reindexing (which is what it appears your code is doing) you
can't really set values properly for this. (This is tricky, you can try
to hook into the BDE when doing a reindex, but even then it only updates
at 30%, 70% and 100% -- trust me ... I have code that does this ...)

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm