I am dynamically adding tooltips to elements depending on certain circumstances, but I dont want to change/add a tooltip if one already exists.
Is there a way to detect if a element/c开发者_StackOverflow社区omponent already has a tooltip set?
Cheers
jj
No, there is no central registry to store tooltips. Depending on how you create your tooltips you could build your own hashtable to check for already created tooltips.
精彩评论