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

Rolf-Werner Eilert rwe-sse at osnanet.de
Mon Jul 12 13:22:21 CEST 2021


Am 12.07.21 um 13:12 schrieb Benoît Minisini:
> 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,
> 


Ah ok, that's why (not). Good hint, thank you!

Regards
Rolf


More information about the User mailing list