Android Question How to set the Max on a ProgressBar

ElliotHC

Active Member
Licensed User
How do you set the Min and Max of a ProgressBar?

I want to have it work from 0 to 20
 

DonManfred

Expert
Licensed User
Longtime User
A progressbar have a value of 0 to 100.
If you want to have them 0 to 20 then you need some math to realize 5=25, 10=50 or 20=100
 
Upvote 0

ElliotHC

Active Member
Licensed User
This might seem like a silly question, but how to you set the value of it?

I don't see ProgressBar1.Value = Variable
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

ElliotHC

Active Member
Licensed User
It keeps telling me that I need to Initialize it, but when I do, I get a squiggly line under Private ProgressBar_Signal As ProgressBar saying that I shouldn't

Should or Shouldn't It can't seem to decide.
 
Upvote 0
Top