Sub Class_Globals
Private Hints As HintOverlay
End Sub
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Hints.Initialize(Root)
End Sub
Private Sub B4XPage_Resize (Width As Int, Height As Int)
Hints.Base_Resize(Width,Height)
End Sub
Private Sub ShowHints
'Set HintOverlay style (where required)
Hints.BackgroundAlpha=80
Hints.CaptionColor=xui.Color_ARGB(120,0,0,0)
Hints.TextColor=xui.Color_White
Hints.OutlineColor=xui.Color_Red
'Call Hints.Show(myB4XView, "My text”)
Hints.Show(Label1,"This is a label”)
Hints.Show(Button1,"This is a button”)
End Sub