G
Graham Knight
Guest
I have tried many solutions from various sites for this. Everything works as it should; I have a list view control on a windows form plus a tooltip control on the same form. I setup the tooltip in the Formload event of the form:
' Set-up tooltip control
TVToolTip.ToolTipTitle = "Series details text"
TVToolTip.IsBalloon = True
TVToolTip.AutoPopDelay = 5000
TVToolTip.InitialDelay = 1000
TVToolTip.ReshowDelay = 500
TVToolTip.SetToolTip(lstSeriesDetails, "This is associated tool text")
if I don't perform the 'settooltip' command when I hover over subitems in the listview all that is displayed is a rectangle with the subitem text. If I try and get the text from the subitem with 'gettooltip' all I get is "this is associated tool text". If I do perform the settooltip command all is displayed correctly as a balloon EXCEPT the tooltip is displayed across two screens when the text retrieved is beyond a certain length.
How can I retrieve the text for the subitem (which something clearly is doing) and reformat it with carridgereturn/linefeed.
any help would be really appreciated
Continue reading...
' Set-up tooltip control
TVToolTip.ToolTipTitle = "Series details text"
TVToolTip.IsBalloon = True
TVToolTip.AutoPopDelay = 5000
TVToolTip.InitialDelay = 1000
TVToolTip.ReshowDelay = 500
TVToolTip.SetToolTip(lstSeriesDetails, "This is associated tool text")
if I don't perform the 'settooltip' command when I hover over subitems in the listview all that is displayed is a rectangle with the subitem text. If I try and get the text from the subitem with 'gettooltip' all I get is "this is associated tool text". If I do perform the settooltip command all is displayed correctly as a balloon EXCEPT the tooltip is displayed across two screens when the text retrieved is beyond a certain length.
How can I retrieve the text for the subitem (which something clearly is doing) and reformat it with carridgereturn/linefeed.
any help would be really appreciated
Continue reading...