I use this MENU.ProgressBar1.Value = (CONTA / RIGA2) * 100
i start with CONTA =0
now if RIGA2 is a big number the progress bar go slow and i see the filling godd, but if RIGA2 is a little number the progressbar is filled very fast and not a good visual effect.
possible to make sloww the progressbar with a little number of RIGA2?
for example RIGA2 is 56.000 the progressbar is filled arround 7 or 8 secs, with RIGA2 is 900 the progressbar is filled arround alph or 1 secs
progessbar is very speeding
-
- PlatinumLounger
- Posts: 4351
- Joined: 26 Apr 2010, 17:36
progessbar is very speeding
Last edited by sal21 on 04 Aug 2014, 13:45, edited 1 time in total.
-
- Administrator
- Posts: 78412
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: progessbar is very speeding
If RIGA2 is a small number, there no need to display a progress bar, is there?
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4351
- Joined: 26 Apr 2010, 17:36
Re: progessbar is very speeding
sorry modified my first post.HansV wrote:If RIGA2 is a small number, there no need to display a progress bar, is there?
-
- Administrator
- Posts: 78412
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: progessbar is very speeding
I don't see the problem. If the code finishes in a second, you don't really need a progress bar. And why would you want to slow down code only to better display the progress bar? That makes no sense to me.
Best wishes,
Hans
Hans
-
- Administrator
- Posts: 7208
- Joined: 15 Jan 2010, 22:52
- Location: Middle of England
Re: progessbar is very speeding
Perhaps you simply need to add some kind of delay at the end to show a completed progress bar for (e.g.) 1 second after completion. That way it would not be a quick 'blink', but show a completed 'progress' for long enough to be seen by the viewer.
Leif