(from CiccioCB)
The css can become easily complicate and very hard to understand.
A "fast and dirty" solution is to use the attribute "title" that enable the tooltip text on the objects.
This snippet shows how it can be applied to textbox and button objects
'CODE: tooltip-easy.bas
cls
b$="ciao"
t$ = textbox$(b$)
html replace$(t$, "<input ", "<input title='this is a textbox'")
t$ = button$("Press Me", gohere)
html replace$(t$, "<button ", "<button title='this is a button'")
gohere:
Simple Annex Tooltips
- Electroguard
- Posts: 860
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 276 times
- Been thanked: 323 times