B4X Store

ELEVATEUI · B4A · XUI

UIRoundSlider

Adjust a numeric setting using circular manipulation rather than a horizontal slider.

78 modules 1,780 APIs

Inputs & forms

What it solves

Adjust a numeric setting using circular manipulation rather than a horizontal slider.

Animated conceptual demonstration, not an exact Android control screenshot.

25 methods12 Designer1 events

When to use this module

In a data-entry form, connect the chosen value to validation and the action that submits the form.

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

25 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: Crea la vista en el diseñador

Base As ObjectLbl As LabelProps As Map
Public Sub AddToParent(Parent As B4XView, l As Float, t As Float, w As Float, h As Float, text_zise As Float, Text_Color As Int) As B4XView

Add this view to a parent container using the supplied bounds and options.

Parent As B4XViewl As Floatt As Floatw As Floath As Floattext_zise As FloatText_Color As Int

Returns: B4XView

Public Sub Draw

Use Draw for its named operation; follow its exact signature.

Original catalog note: Dibuja la vista

Public Sub getMinValue As Int

Read the current min value value for validation or UI synchronization.

Original catalog note: Obtener el valor mínimo

Returns: Int

Public Sub getMaxValue As Int

Read the current max value value for validation or UI synchronization.

Original catalog note: Obtener el valor máximo

Returns: Int

Public Sub setMinValue(Value As Int)

Update min value at runtime when this setting changes.

Original catalog note: Establecer el valor mínimo

Value As Int
Public Sub setMaxValue(Value As Int)

Update max value at runtime when this setting changes.

Original catalog note: Establecer el valor máximo

Value As Int
Public Sub getValue As Int

Read the current value value for validation or UI synchronization.

Original catalog note: Obtener el valor actual

Returns: Int

Public Sub setValue (v As Int)

Update value at runtime when this setting changes.

Original catalog note: Establecer el valor actual

v As Int
Public Sub getThumbIcon As B4XBitmap

Read the current thumb icon value for validation or UI synchronization.

Original catalog note: Obtener el icono del pulgar

Returns: B4XBitmap

Public Sub setThumbIcon(Icon As B4XBitmap)

Update thumb icon at runtime when this setting changes.

Original catalog note: Establecer el icono del pulgar

Icon As B4XBitmap
Public Sub getFillColor As Int

Read the current fill color value for validation or UI synchronization.

Original catalog note: Obtener el color de relleno del círculo interior

Returns: Int

Public Sub setFillColor(Color As Int)

Update fill color at runtime when this setting changes.

Original catalog note: Establecer el color de relleno del círculo interior

Color As Int
Public Sub getProgressColor As Int

Read the current progress color value for validation or UI synchronization.

Original catalog note: Obtener el color de progreso

Returns: Int

Public Sub setProgressColor(Color As Int)

Update progress color at runtime when this setting changes.

Original catalog note: Establecer el color de progreso

Color As Int
Public Sub getUnreachedColor As Int

Read the current unreached color value for validation or UI synchronization.

Original catalog note: Obtener el color no alcanzado

Returns: Int

Public Sub setUnreachedColor(Color As Int)

Update unreached color at runtime when this setting changes.

Original catalog note: Establecer el color no alcanzado

Color As Int
Public Sub getThumbBorderColor As Int

Read the current thumb border color value for validation or UI synchronization.

Original catalog note: Obtener el color del borde del pulgar

Returns: Int

Public Sub setThumbBorderColor (Color As Int)

Update thumb border color at runtime when this setting changes.

Original catalog note: Establecer el color del borde del pulgar

Color As Int
Public Sub getThumbInnerColor As Int

Read the current thumb inner color value for validation or UI synchronization.

Original catalog note: Obtener el color interno del pulgar

Returns: Int

Public Sub setThumbInnerColor (Color As Int)

Update thumb inner color at runtime when this setting changes.

Original catalog note: Establecer el color interno del pulgar

Color As Int
Public Sub getStrokeWidth As Int

Read the current stroke width value for validation or UI synchronization.

Original catalog note: Obtener el ancho de trazo

Returns: Int

Public Sub setStrokeWidth(Width As Int)

Update stroke width at runtime when this setting changes.

Original catalog note: Establecer el ancho de trazo

Width As Int
Public Sub getThumbView As B4XView

Read the current thumb view value for validation or UI synchronization.

Returns: B4XView

Designer · 12

#DesignerProperty: Key: FillColor, DisplayName: Fill Color, FieldType: Color, DefaultValue: 0xFFFFFFFF#DesignerProperty: Key: ProgressColor, DisplayName: Progress Color, FieldType: Color, DefaultValue: 0xFF00CFB2#DesignerProperty: Key: UnreachedColor, DisplayName: Unreached Color, FieldType: Color, DefaultValue: 0xFFA9A9A9#DesignerProperty: Key: ThumbColor, DisplayName: Thumb Color, FieldType: Color, DefaultValue: 0xFFFFFFFF#DesignerProperty: Key: ThumbBorderColor, DisplayName: Thumb Border Color, FieldType: Color, DefaultValue: 0xFF000000#DesignerProperty: Key: StrokeWidth, DisplayName: Stroke Width, FieldType: Int, DefaultValue: 35#DesignerProperty: Key: ThumbCornerWidth, DisplayName: Thumb Corner Width, FieldType: Int, DefaultValue: 4, MinRange: 2#DesignerProperty: Key: RollOver, DisplayName: Roll Over, FieldType: Boolean, DefaultValue: False, Description: If checked then it is possible to drag from the max value to the min value.#DesignerProperty: Key: MinValue, DisplayName: Minimum Value, FieldType: Int, DefaultValue: 0#DesignerProperty: Key: MaxValue, DisplayName: Maximum Value, FieldType: Int, DefaultValue: 100#DesignerProperty: Key: TextColor, DisplayName: Text Color, FieldType: Color, DefaultValue: 0xFF000000#DesignerProperty: Key: TextSize, DisplayName: Text Size, FieldType: Int, DefaultValue: 16

Public events and how to implement them · 1

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.

ValueChanged (Value 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(Value 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 Tag As Object
Source: ElevateUI public API catalog; tutorials cross-checked against ElevateUI(6).b4xlib. Visualizations are illustrative; sample code requires B4A compilation.