Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update progressbar value during tableupdate?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00050346
Message ID:
00050692
Views:
32
Hi, José!

I send it to you by email at monday. (The sender name will be different than mine, 'cause I can't send attached files.)

BB

>>Hi, José!
>>
>>I met this problem, too. I suggest you a different approach! I solved this problem with a timer. Users don't need exactly a progressbar, but they accept anything, which can show, that program works, and doesnot hangs forever! So I made a lowlevel timer, not a timercontrol, but an FLL function, which is fired at every events of VFP. (Timer control's timer events aren't fired during tableupdate, but VFP events are!) My timer func. check the elapsed time since last activity and if elapsed the e.g. 0.5 sec it change my progress indicator to another state. I use Moon state bitmaps shipped with VFP.
>>I agree with you, that progressbar is better, but how can you chack the current state of updating? _TALLY doesnot show it. If it would does, with my timer you can update the your progressbar.
>>
>>BB
>>
>>p.s.: I you need I send mytimer.fll to you. (with source code of course!)
>
>Bela,
>
>That's an interesting approach, and as always in VFP when you stuck into a wall there's usually another way to go. Please send me your FLL, I'll fiddle with that and see what I can achieve.
>
>Thanks.
>
>José
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform