HelpDesktop Tooltip error message

BPak

Active Member
Licensed User
Longtime User
I am using ToolBar and ToolBarButtons and have tried to put the Tooltips Object from Help/desktop to the Buttons on the Toolbar and get an error message which says they are not of Window Forms.

Can Tooltips be used with ToolBarButtons?

B4X:
        ' toolbarbuttons
        btn1.New1
   btn2.New1
   btn3.New1   
   btn4.New1
   btn5.New1

   ' tooltips
   Tooltip.New1
   Tooltip.SetToolTip("btn1", "Create New Database")
   Tooltip.SetToolTip("btn2", "Open existing Database")
   Tooltip.SetToolTip("btn3", "Save Database")
   Tooltip.SetToolTip("btn4", "Save As... Database")
   Tooltip.SetToolTip("btn5", "Close Database")

Sub ToolTip_Popup
   Tooltip.IsBalloon = False
   Tooltip.ToolTipTitle = ""
   Tooltip.ToolTipIcon = 0 ' None = 0, Info = 1, Warning = 2, Error = 3      
End Sub
 
Last edited:

BPak

Active Member
Licensed User
Longtime User
Thanks Klaus.

Maybe there is one for icons in the Menu in there as well.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…