[Gambas-user] TreeView.ToolTip a nice-to-have

Benoît Minisini g4mba5 at gmail.com
Mon Jul 12 13:12:30 CEST 2021


Le 12/07/2021 à 11:30, Rolf-Werner Eilert a écrit :
> Just stumbled over this one: There is no
> 
>      TreeView.Current.ToolTip
> 
> or
>      TreeView[theKey].ToolTip
> 
> right?
> 
> Would be a nice thing to have though. Thunderbird (as an example) makes 
> use of it, showing mail dirs containing unread messages in bold or 
> bold+blue AND showing the latest new messages contained in a tooltip.
> 
> There is an application of mine which would be happy to have such a 
> thing.So, Benoit, if one day you are absolutely failing to find anything 
> you could improve in Gambas... :)
> 
> Regards
> Rolf
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

There is no tooltip on TreeView items because treeview items are not 
widgets.

It must be implemented by using the MouseMove event and changing the 
TreeView tooltip on the fly. But it does not ensure that the underlying 
GUI toolkit tooltip will follow the mouse cursor, something to test.

Regards,

-- 
Benoît Minisini


More information about the User mailing list