Thread: Adding tooltips to Number fields
-
September 23rd, 2018, 13:44 #1
Adding tooltips to Number fields
Greetings All,
Been working on the Traveller ruleset and going to need to add some tooltips to some of the action fields, just to stop people wondering how they're going to work.
For example, Weapon Attack skill, it's built up from Characteristic + Skill, been wondering if I can show a tooltip that would say (for example)
"Dex +2, Gun Combat (Slug Rifle) +1, Total +3" (for when the Attack field shows '3').
Any thoughts on how I can do this? Just toying with a few ideas today.
Cheers,
MBMRuleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
September 23rd, 2018, 13:50 #2
https://www.fantasygrounds.com/refdo...setTooltipText
And maybe use the onHover event to set the text: https://www.fantasygrounds.com/refdo...ol.xcp#onHoverPrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
September 23rd, 2018, 13:54 #3Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks