Aug 19, 2021 Hello, My New Cross Platform Library is ready now A new styled button with built-in progressbar Features Cross-platform compatible A good text animation Changeable values Custom Colors Custom Border And CornerRadius Tested in B4A B4J * I don't have tested it with B4I, but it should work * AMProgressButton Author: AmirMK82 Version: 1.00 AMProgressButton Events: Click OnComplete Fields: Tag As Object Color As Int CornerRadius As Int BorderWidth As Int BorderColor As Int OnCompleteText As String OnCompleteTextColor As Int NormalText As String NormalTextColor As Int ProgressText As String ProgressTextColor As Int AnimationDuration As Int ProgressColor As Int Enabled As Boolean Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Initialize (Callback As Object, EventName As String) As String IsInitialized As Boolean Tests whether the object has been initialized. SetProgress (progress As Float) SetColor (clr As Int) SetCornerRadius (cr As Int) SetBorder (BWidth As Int, BColor As Int) SetNormalText (Text As String) SetNormalTextColor (clr As Int) SetProgressColor (clr As Int) SetProgressText (Text As String) SetProgressTextColor (clr As Int) SetOnCompleteText (Text As String) SetOnCompleteTextColor (clr As Int) Properties: mBase As B4XView mLbl As B4XView mPnlUpper As B4XView Help Me Make It Better,Tnx ❤ Be Healthy & Happy❤ Attachments AMProgressButton.b4xlib AMProgressButton.b4xlib 2.4 KB · Views: 817 AMProgressButton.bas AMProgressButton.bas 7.6 KB · Views: 806 Project.zip Project.zip 15.1 KB · Views: 782 Click to expand...
Hello, My New Cross Platform Library is ready now A new styled button with built-in progressbar Features Cross-platform compatible A good text animation Changeable values Custom Colors Custom Border And CornerRadius Tested in B4A B4J * I don't have tested it with B4I, but it should work * AMProgressButton Author: AmirMK82 Version: 1.00 AMProgressButton Events: Click OnComplete Fields: Tag As Object Color As Int CornerRadius As Int BorderWidth As Int BorderColor As Int OnCompleteText As String OnCompleteTextColor As Int NormalText As String NormalTextColor As Int ProgressText As String ProgressTextColor As Int AnimationDuration As Int ProgressColor As Int Enabled As Boolean Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Initialize (Callback As Object, EventName As String) As String IsInitialized As Boolean Tests whether the object has been initialized. SetProgress (progress As Float) SetColor (clr As Int) SetCornerRadius (cr As Int) SetBorder (BWidth As Int, BColor As Int) SetNormalText (Text As String) SetNormalTextColor (clr As Int) SetProgressColor (clr As Int) SetProgressText (Text As String) SetProgressTextColor (clr As Int) SetOnCompleteText (Text As String) SetOnCompleteTextColor (clr As Int) Properties: mBase As B4XView mLbl As B4XView mPnlUpper As B4XView Help Me Make It Better,Tnx ❤ Be Healthy & Happy❤