Hi,
I am facing a strange issue with the XUI progressbar. I am sure I am not using it in the right way so I am asking for some help.
In the attached test project I have a panel and pb (progressbar). I have facing the following two issues:
1- upon activity create I would like to extend the pb width to the entire containing panel width by doing
for some reasons the pb does not change size.
2- when I press the pushbutton the value increases by 5 so for example I reach 50%, then I suspend the app and when I resume, when I press the increase button the value increases but the bar does not move..
please help..
thanks!!
I am facing a strange issue with the XUI progressbar. I am sure I am not using it in the right way so I am asking for some help.
In the attached test project I have a panel and pb (progressbar). I have facing the following two issues:
1- upon activity create I would like to extend the pb width to the entire containing panel width by doing
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout")
pb1.mBase.Width = Panel1.Width
pb1.mBase.Left = 0
pb1.Value = 0
End Sub
for some reasons the pb does not change size.
2- when I press the pushbutton the value increases by 5 so for example I reach 50%, then I suspend the app and when I resume, when I press the increase button the value increases but the bar does not move..
please help..
thanks!!