Hello
I use the following code to set tooltips on swift buttons:
The attached image shows the results of the tooltip being displayed. Only the capital letters are shown, any ideas ?
Regards
John.
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.