|
-
Mar 9th, 2013, 03:49 AM
#1
Thread Starter
Junior Member
[RESOLVED] How To Make The Progress Bar A Shot-Power Bar?
I'd like to know how to make the Progress Bar a shot-power gauge/bar.
In example, if the Minimum = 0, and Maximum = 100,
when the Progress Bar's value comes to 100, it will decrease again to 0,
the progress bar will stop when a button is clicked.
i have a code like this, but the powerbar's value stops at 90 or something,
Power_Tick //ProgressBar's Name
PowerBar.Step = 5
PowerBar.Value += 5
If PowerBar.Value >= PowerBar.Maximum Then
PowerBar.Value -= 5
ElseIf PowerBar.Value <= PowerBar.Minimum Then
PowerBar.Value += 5
End If
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|