Public Sub Initialize (Callback As Object, EventName As String)
Prepare the instance before its other methods.
ELEVATEUI · B4A · XUI
Adjust a numeric setting using circular manipulation rather than a horizontal slider.
Inputs & forms
Adjust a numeric setting using circular manipulation rather than a horizontal slider.
Animated conceptual demonstration, not an exact Android control screenshot.
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.
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.
25 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: Crea la vista en el diseñador
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.
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
Public Sub setMaxValue(Value As Int)
Update max value at runtime when this setting changes.
Original catalog note: Establecer el valor máximo
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
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
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
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
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
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
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
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
Public Sub getThumbView As B4XView
Read the current thumb view value for validation or UI synchronization.
Returns: B4XView
#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: 16Initialize 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 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 Tag As Object