Public Sub Initialize (Callback As Object, EventName As String)
Prepare the instance before its other methods.
ELEVATEUI · B4A · XUI
Show labeled progress and an optional icon for skills or task stages.
Progress & measurement
Show labeled progress and an optional icon for skills or task stages.
Animated conceptual demonstration, not an exact Android control screenshot.
During a long operation, connect this indicator to real progress updates rather than leaving a decorative percentage.
Before integrating, examine its methods, events and Designer options.
Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.
The public API, events and properties remain available. An isolated initialization is not presented as a full example; a tutorial will be added after a functional sequence is documented.
23 audited signatures
Public Sub Initialize (Callback As Object, EventName As String)
Prepare the instance before its other methods.
Public Sub DesignerCreateView (Base As Object, lbl As Label, Props As Map)
Invoked automatically by the B4A Visual Designer; do not call manually.
Original catalog note: --- Se ejecuta desde el Designer: lee Props y Lbl (propiedades del diseñador) ---
Public Sub AddToParent(Parent As B4XView, Left As Int, Top As Int, Width As Int, Height As Int)
Add this view to a parent container using the supplied bounds and options.
Original catalog note: Adds the PanelProgressBar to a parent view with specified properties
Public Sub setIcon(icon As String,Font As B4XFont)
Update icon at runtime when this setting changes.
Original catalog note: ============= Métodos públicos =============
Public Sub getIcon As String
Read the current icon value for validation or UI synchronization.
Returns: String
Public Sub setFont(f As B4XFont)
Update font at runtime when this setting changes.
Public Sub getFont As B4XFont
Read the current font value for validation or UI synchronization.
Returns: B4XFont
Public Sub setTitle(t As String)
Update title at runtime when this setting changes.
Public Sub getTitle As String
Read the current title value for validation or UI synchronization.
Returns: String
Public Sub setColor(c As Int)
Update color at runtime when this setting changes.
Public Sub getColor As Int
Read the current color value for validation or UI synchronization.
Returns: Int
Public Sub setTitleColor(c As Int)
Update title color at runtime when this setting changes.
Public Sub getTitleColor As Int
Read the current title color value for validation or UI synchronization.
Returns: Int
Public Sub setProgress(p As Int)
Update progress at runtime when this setting changes.
Public Sub getProgress As Int
Read the current progress value for validation or UI synchronization.
Returns: Int
public Sub Elevation(Offset As Float, color As Int)
Public API declaration; refer to the library behavior for usage details.
Original catalog note: Verified against supplied 2026-11-28 .b4xlib
Public Sub setCornerRadius(r As Int)
Update corner radius at runtime when this setting changes.
Public Sub getCornerRadius As Int
Read the current corner radius value for validation or UI synchronization.
Returns: Int
Public Sub setShowPercentage(b As Boolean)
Update show percentage at runtime when this setting changes.
Public Sub getShowPercentage As Boolean
Read the current show percentage value for validation or UI synchronization.
Returns: Boolean
Public Sub setTitleFont(f As B4XFont)
Update title font at runtime when this setting changes.
Public Sub getTitleFont As B4XFont
Read the current title font value for validation or UI synchronization.
Returns: B4XFont
Public Sub Base_Resize (Width As Double, Height As Double)
Use Base_Resize for its named operation; follow its exact signature.
#DesignerProperty: Key: Title, DisplayName: Title, FieldType: String, DefaultValue: Skill#DesignerProperty: Key: Color, DisplayName: Color, FieldType: Color, DefaultValue: 0xFF1E90FF#DesignerProperty: Key: TitleColor, DisplayName: Title Color, FieldType: Color, DefaultValue: 0xFF2F4F4F#DesignerProperty: Key: Progress, DisplayName: Progress, FieldType: Int, DefaultValue: 50#DesignerProperty: Key: CornerRadius, DisplayName: Corner Radius, FieldType: Int, DefaultValue: 15#DesignerProperty: Key: IconFontSize, DisplayName: Icon Font Size, FieldType: Int, DefaultValue: 24#DesignerProperty: Key: ShowPercentage, DisplayName: Show Percentage, FieldType: Boolean, DefaultValue: TrueInitialize with Me and the event prefix Demo, then add the following handler to your B4A module. Names and arguments come from the library declaration.
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_Click()
Log("Click")
End Sub
Raised when a selection or value changes; use it to update dependent data.
B4A handler signature with Demo prefix
Private Sub Demo_ValueChanged(NewValue As Int)
Log("ValueChanged")
End Sub
For code-created controls use Initialize(Me, "Demo") when that signature exists; for Designer controls set the event name there. Replace Demo with the actual prefix.
Public mBase As B4XViewPublic Tag As Object