B4X Store

ELEVATEUI · B4A · XUI

UITooltip

Explain the purpose of controls without crowding the layout.

78 modules 1,780 APIs

Dialogs & notifications

What it solves

Explain the purpose of controls without crowding the layout.

Animated conceptual demonstration, not an exact Android control screenshot.

4 methods0 Designer2 events

When to use this module

When an operation needs confirmation or a result, process its response in the callback before updating the interface.

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

4 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 Show(ParentPage As B4XView, TargetView As B4XView, Title As String, Message As String)

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

Original catalog note: Shows a tooltip popup anchored to TargetView inside ParentPage

ParentPage As B4XViewTargetView As B4XViewTitle As StringMessage As String
Public Sub ShowWithIcon(ParentPage As B4XView, TargetView As B4XView, Title As String, Message As String, IconBmp As B4XBitmap)

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

Original catalog note: Shows a tooltip with a custom icon bitmap

ParentPage As B4XViewTargetView As B4XViewTitle As StringMessage As StringIconBmp As B4XBitmap
Public Sub Dismiss

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

Designer · 0

No custom Designer properties were found in the audited API.

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.

Clicked

Raised when the user taps the control; use it to trigger a real action.

B4A handler signature with Demo prefix

Private Sub Demo_Clicked()
    Log("Clicked")
End Sub
Dismissed

Raised when the component closes; use it to clean up state or restore focus.

B4A handler signature with Demo prefix

Private Sub Demo_Dismissed()
    Log("Dismissed")
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 BackgroundColor As Int = 0xFFF8FAFD ' Soft surfacePublic TextColor As Int = 0xFF667488 ' Muted body textPublic TitleColor As Int = 0xFF192B46Public BorderWidth As Int = 1dipPublic CornerRadius As Float = 18dipPublic Placement As String = "TOP" ' "TOP", "BOTTOM", "LEFT", "RIGHT", "AUTO"Public Padding As Int = 12dipPublic AutoDismissMs As Long = 0 ' 0 = manual / click dismissPublic TitleTextSize As Float = 15Public MessageTextSize As Float = 13Public ArrowSize As Int = 8dip
Source: ElevateUI public API catalog; tutorials cross-checked against ElevateUI(6).b4xlib. Visualizations are illustrative; sample code requires B4A compilation.