Android Question Control visibility of CircularProgressBar in code

William Hunter

Active Member
Licensed User
Longtime User
I need a way of setting the visibility of the CircularProgressBar in code. There does not seem to be a way of doing this. Could this be added in the future?

Regards :)
 

DonManfred

Expert
Licensed User
Longtime User
Did you try to do it yourself and add the code to the CircularProgressBar class? The Source is avilable.
 
Upvote 0

William Hunter

Active Member
Licensed User
Longtime User
Did you try to do it yourself and add the code to the CircularProgressBar class? The Source is avilable.
Thank you for your reply. You inspired me to add the properties below.
B4X:
#Region Properties
Public Sub setEnabled(Enabled As Boolean)
    mBase.Enabled = Enabled
End Sub

Public Sub getEnabled As Boolean
    Return mBase.Enabled
End Sub

Public Sub setVisible(Visible As Boolean)
    mBase.Visible = Visible
End Sub

Public Sub getVisible As Boolean
    Return mBase.Visible
End Sub

Public Sub setTag(Tag As String)
    mBase.Tag = Tag
End Sub

Public Sub getTag As String
    Return mBase.Tag
End Sub
#End Region
Best regards :)
 
Upvote 0
Top