B4X Store

ELEVATEUI · B4A · XUI

UIPanelProgressBar

Show labeled progress and an optional icon for skills or task stages.

78 modules 1,780 APIs

Progress & measurement

What it solves

Show labeled progress and an optional icon for skills or task stages.

Animated conceptual demonstration, not an exact Android control screenshot.

23 methods7 Designer2 events

When to use this module

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.

B4A integration examples

Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.

Practical tutorial awaiting verification

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.

Public methods reference

23 audited signatures

Public Sub Initialize (Callback As Object, EventName As String)

Prepare the instance before its other methods.

Callback As ObjectEventName As String
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) ---

Base As Objectlbl As LabelProps As Map
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

Parent As B4XViewLeft As IntTop As IntWidth As IntHeight As Int
Public Sub setIcon(icon As String,Font As B4XFont)

Update icon at runtime when this setting changes.

Original catalog note: ============= Métodos públicos =============

icon As StringFont As B4XFont
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.

f As B4XFont
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.

t As String
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.

c As Int
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.

c As Int
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.

p As Int
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

Offset As Floatcolor As Int
Public Sub setCornerRadius(r As Int)

Update corner radius at runtime when this setting changes.

r As Int
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.

b As Boolean
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.

f As B4XFont
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.

Width As DoubleHeight As Double

Designer · 7

#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: True

Public events and how to implement them · 2

Initialize with Me and the event prefix Demo, then add the following handler to your B4A module. Names and arguments come from the library declaration.

Click

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
ValueChanged (NewValue As Int)

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 fields, constants and types

Public mBase As B4XViewPublic Tag As Object
Source: ElevateUI public API catalog; tutorials cross-checked against ElevateUI(6).b4xlib. Visualizations are illustrative; sample code requires B4A compilation.