B4J Question [SOLVED] Tooltips - lower case letters not showing, only Upper being shown.

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hello

I use the following code to set tooltips on swift buttons:

B4X:
#Region TOOLTIPS

Sub set_tooltips
    
    ToolTipOnNode(sbActivityDateRange.mBase,"Date Range Filter")
    ToolTipOnNode(sbActivityNotesFilter.mBase,"Show/Hide Activities with Notes")
    
End Sub

Private Sub ToolTipOnNode(Nd As Node, msg As String)
    Dim joToolTip As JavaObject
    Dim joToolTip2 As JavaObject = joToolTip.InitializeNewInstance("javafx.scene.control.Tooltip", Array(msg))
    joToolTip.RunMethod("install", Array(Nd, joToolTip2))
End Sub

#End Region

The attached image shows the results of the tooltip being displayed. Only the capital letters are shown, any ideas ?

Regards

John.
 

Attachments

  • 1630665207727.png
    171.5 KB · Views: 216
Cookies are required to use this site. You must accept them to continue using the site. Learn more…