ElliotHC Active Member Licensed User Jan 3, 2019 #1 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 Jan 3, 2019 #2 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
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
ElliotHC Active Member Licensed User Jan 3, 2019 #3 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
This might seem like a silly question, but how to you set the value of it? I don't see ProgressBar1.Value = Variable
ElliotHC Active Member Licensed User Jan 3, 2019 #4 Got it.. B4X: ProgressBar1.Progress = Variable Upvote 0
DonManfred Expert Licensed User Longtime User Jan 3, 2019 #5 ElliotHC said: I don't see ProgressBar1.Value = Variable Click to expand... 1. You can find the documentation using the right searchword (the object) https://www.b4x.com/android/forum/pages/results/?query=ProgressBar As it is a ProgressBar it´s Value is not "Value", it is "Progress" https://www.b4x.com/android/help/views.html#progressbar_progress Upvote 0
ElliotHC said: I don't see ProgressBar1.Value = Variable Click to expand... 1. You can find the documentation using the right searchword (the object) https://www.b4x.com/android/forum/pages/results/?query=ProgressBar As it is a ProgressBar it´s Value is not "Value", it is "Progress" https://www.b4x.com/android/help/views.html#progressbar_progress
ElliotHC Active Member Licensed User Jan 3, 2019 #6 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
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.
DonManfred Expert Licensed User Longtime User Jan 3, 2019 #7 Sounds like you did not add the progressbar to your layout/your activity Last edited: Jan 3, 2019 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2019 #9 Have you loaded the layout file? Upvote 0