Public Sub Initialize(Callback As Object, EventName As String)
Prepare the instance before its other methods.
ELEVATEUI · B4A · XUI
Highlight existing screen elements during guided product tours.
Navigation & onboarding
Highlight existing screen elements during guided product tours.
Animated conceptual demonstration, not an exact Android control screenshot.
In a multi-screen application, connect every menu action to a real destination and preserve the active selection.
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.
9 audited signatures
Public Sub Initialize(Callback As Object, EventName As String)
Prepare the instance before its other methods.
Public Sub SetButtonLabels(Skip As String, Previous As String, NextStr As String, Done As String)
Use SetButtonLabels for its named operation; follow its exact signature.
Original catalog note: Sets custom labels for the navigation buttons (e.g. Spanish: "Omitir", "Anterior", "Siguiente", "Listo")
Public Sub AddStep(TargetView As B4XView, Description As String)
Use AddStep for its named operation; follow its exact signature.
Original catalog note: Adds a step to the feature tour sequence <code> Tour.AddStep(btnEnviar, "Presiona aquà para procesar la solicitud.") </code>
Public Sub AddStepFull(TargetView As B4XView, Title As String, Description As String, Placement As String, SpotlightShape As String)
Use AddStepFull for its named operation; follow its exact signature.
Original catalog note: SpotlightShape: The shape of the luminous cutout over the resource ("CIRCLE" or "RECT"). Usage example: <code> Tour.AddStepFull(ContainerPanel, "Advanced Filters", "Modify the date ranges here.", "BOTTOM", "RECT") </code>
Public Sub Start(ParentPage As B4XView)
Use Start for its named operation; follow its exact signature.
Original catalog note: Starts the tour from step 0
Public Sub ShowStep(StepIndex As Int)
Use ShowStep for its named operation; follow its exact signature.
Public Sub NextStep
Use NextStep for its named operation; follow its exact signature.
Public Sub PreviousStep
Use PreviousStep for its named operation; follow its exact signature.
Public Sub FinishTour
Use FinishTour for its named operation; follow its exact signature.
No custom Designer properties were found in the audited API.
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.
Raised when a selection or value changes; use it to update dependent data.
B4A handler signature with Demo prefix
Private Sub Demo_StepChanged(StepIndex As Int)
Log("StepChanged")
End Sub
Event declared by this module. Handle the indicated action in the callback.
B4A handler signature with Demo prefix
Private Sub Demo_Finished()
Log("Finished")
End Sub
Event declared by this module. Handle the indicated action in the callback.
B4A handler signature with Demo prefix
Private Sub Demo_Skipped()
Log("Skipped")
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 OverlayColor As Int = 0xD90F172A ' Dark Slate 85% opacityPublic HighlightColor As Int = 0xFF10B981 ' Emerald green accentPublic CardBackgroundColor As Int = 0xFF1E293B ' Dark Slate cardPublic TextColor As Int = 0xFFF8FAFCPublic DescriptionColor As Int = 0xFFCBD5E1Public ButtonColor As Int = 0xFF059669Public ButtonTextColor As Int = 0xFFFFFFFFPublic CornerRadius As Float = 14dipPublic SkipButtonText As String = "Skip"Public PreviousButtonText As String = "Previous"Public NextButtonText As String = "Next"Public DoneButtonText As String = "Done"Public ArrowLineWidth As Float = 2.5dipPublic ArrowHeadSize As Float = 10dipPublic PLACEMENT_AUTO As String = "AUTO"Public PLACEMENT_TOP As String = "TOP"Public PLACEMENT_BOTTOM As String = "BOTTOM"Public SHAPE_CIRCLE As String = "CIRCLE"Public SHAPE_RECTANGLE As String = "RECT"Public ArrowOffset As Float = 15dipPublic OverlayElevation As Float = 9999dip