Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to access a Tooltip on a Node without a getTooltip() method

 
Nicholas d'Hondt
Greenhorn
Posts: 10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I have quite a few ImageView each with their own Tooltip, and I would like to be able to access the Tooltip from the ImageView.

Just briefly:



Later on I call a method and send it 'holder'

 
John Damien Smith
Ranch Hand
Posts: 299
14
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Store the tooltip reference in the user properties for the node under a pre-defined key, then later retrieve it when you need it, using the same key.
 
Nicholas d'Hondt
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, that's a neat trick. Thanks a bunch!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic