B4J Question what about B4XView Tooltip?

Discussion in 'B4J Questions' started by rbirago, May 12, 2019.

  1. rbirago

    rbirago Member Licensed User

    In these last months I'm starting to use B4XViews instead of specific platform views. Why in B4XView there is not a ToolTip property? Is it for a particular reason?
    Thank you
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    It is a B4J feature only. However the nice thing about B4XView is that it is very simple to access the native APIs:
    Code:
    Sub SetToolTip (x As B4XView, Text As String)
     
    If x Is Control Then
      
    Dim c As Control = x
      c.TooltipText = Text
    End If
    End Sub
     
    José J. Aguilar likes this.
  3. rbirago

    rbirago Member Licensed User

    oooh, thank you, I didn't know anything about this Control. It is perfect! I suppose that there are lots of useful tools that the most part of us don't know anything about. Should be cool to find the way to implement the info system of B4X!
    Where can I find for example some infos about Control? (using the OnlineHelp of the IDE tooltip it reminds to a generic list of argumentas for word "CONTROL")
     
  4. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice