B4J Question [RESOLVED] How to Set Tooltip for a TextField

cklester

Well-Known Member
Licensed User
How do you set the tooltip for a text field? There doesn't seem to be a TooltipText property for a TextField, but ToolTip is listed as a property for the Text Field in the Designer.

I've searched "tooltip textfield" and found no answer.
 

stevel05

Expert
Licensed User
Longtime User
There is a TooltipText property for the TextField Object.

1602118778060.png


Unless you have assigned it to a B4xView object In which case you can cast it to a Textfield object to change or add the tooltip.

B4X:
Dim ETView As TextField = B4xTF '(a b4xview)
ETView.TooltipText = "TooltipText"
 
Upvote 0

cklester

Well-Known Member
Licensed User
Oh, dang it! I got caught by the B4XView thing again! I DIMmed the TextField as B4XView. I changed it to TextView, and of course it works.

OK, so... now that I've been hit twice with this, I will know in the future. Cross your fingers! :D
 
Upvote 0
Top