Hello,
My New Cross Platform Library is ready now
A new styled button with built-in progressbar
Features
Tested in
AMProgressButton
Author: AmirMK82
Version: 1.00
Help Me Make It Better,Tnx ❤
Be Healthy & Happy❤
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
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
- Events:
Help Me Make It Better,Tnx ❤
Be Healthy & Happy❤