Android Question [SOLVED] [B4X] BCToolTip - wrong position of tooltip

stanks

Active Member
Licensed User
Longtime User
Hi

When button is added to panel, tooltip is at wrong position. I am trying this with Erels example. I added one panel and one button in it and this code:

B4X:
Private Sub Button5_LongClick
    Dim btn As B4XView = Sender
    ToolTip.Show(btn.Left + btn.Width, btn.Top + btn.Height / 2, "RIGHT", $"wefwefwef lwkef j
jwlkefj lwke fjwe
wefjlwkef jlwkefw
ef wejklfj welkf"$)    
End Sub
So when user long click on button tooltip must be visible on right position of button but it is visible at wrong position on screen.



How to solve this?

Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…