| View previous topic :: View next topic |
| Author |
Message |
NathanH Valued Newbie
Joined: 05 Sep 2001 Posts: 32
|
Posted: Thu Apr 04, 2002 7:56 pm Post subject: PROGRESS Element flashs. Anyway to fix? |
|
|
When I run this stripped down code the progress bar flashes as it refreshes. Any way to stop this?
| Code: |
DIALOG CREATE,Copy,-1,0,283,53,ONTOP,NOMIN
DIALOG ADD,PROGRESS,FILECOPY,30,7,270,15,0
DIALOG SHOW
REPEAT
%I = @succ(%I)
DIALOG SET, FILECOPY,@FADD(@FMUL(2.5,%I),10)
wait .3
UNTIL @EQUAL(%I,40)
|
Thanks for your help...
Nathan H |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Thu Apr 04, 2002 10:33 pm Post subject: |
|
|
Try this:
| Code: |
DIALOG CREATE,Copy,-1,0,283,53,ONTOP,NOMIN
DIALOG ADD,PROGRESS,FILECOPY,30,7,270,15,0
DIALOG SHOW
REPEAT
%I = @succ(%I)
DIALOG SET, FILECOPY,@FORMAT(@FADD(@FMUL(2.5,%I),10),1.0)
wait .3
UNTIL @EQUAL(%I,40)
|
When the progress bar comes to a floating point number it sets the progress to 0. VDS doesn't seem to like floating points when it comes to things like that.
@FORMAT() rounds it to a whole number. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
NathanH Valued Newbie
Joined: 05 Sep 2001 Posts: 32
|
Posted: Thu Apr 04, 2002 10:51 pm Post subject: |
|
|
Sheep-
Ya nailed it.
Thank you
Nathan |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|