It is the first time to use progress bar, my case is calculating percentage for example: x1= (X/250)*100...x1 will take values from 0 to 100 ....How to transfer value of x1 into progress of the progress bar ?
The default progress bar will only render the "system default" appearance for the progress bar. If you want something more complex you will need to make your own control/view.
For an example of how to do something such as that, see this thread: LED bar VU meter
there some commands in default libaray, like SetBackgroundImage (Bitmap As android.graphics.Bitmap) As BitmapDrawable SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)
there some commands in default libaray, like SetBackgroundImage (Bitmap As android.graphics.Bitmap) As BitmapDrawable SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)
i understand that i am using an old version, but i am just trying to build a quick solution with my very limited old version but soon i will buy the newest one
But i will ask if the new version will deal with my old codes or will cause some conflict as happens before with version V5 when i was compiling codes written by V4.3 and some error messages displayed.....so that issue make me hesitating if i upgrade to the V 8.3 , i am afraid that new version displays errors
i understand that i am using an old version, but i am just trying to build a quick solution with my very limited old version but soon i will buy the newest one
But i will ask if the new version will deal with my old codes or will cause some conflict as happens before with version V5 when i was compiling codes written by V4.3 and some error messages displayed.....so that issue make me hesitating if i upgrade to the V 8.3 , i am afraid that new version displays errors
With the new version you can use the latest examples and then you can update your code and get assistance.
Anyway if you use the native ProgressBar, even if less powerful, but it also works in the dated versions of B4A.
If you need an advanced ProgressBar then you must necessarily use a more recent version.
Here is a thread about changing color of the standard progress bar which probably should work with older versions of B4A too.
Anyway, you really should upgrade.
i understand that i am using an old version, but i am just trying to build a quick solution with my very limited old version but soon i will buy the newest one
But i will ask if the new version will deal with my old codes or will cause some conflict as happens before with version V5 when i was compiling codes written by V4.3 and some error messages displayed.....so that issue make me hesitating if i upgrade to the V 8.3 , i am afraid that new version displays errors