I have UltraTreeView with ToolTipManager attached. One of my cells has a very large text. User needs at least 30 seconds if not a minute to analize the content of the cell, but tooltip disappears after about 5 seconds .. I tried diferent values: 0, 32000, 600000. All with the same effect.
We are using version 12.1
Hi,m
I tried this out in a very simply case and the AutoPopDelay seems to work just fine for me. So whatever is happening here is probably something to do with how you are showing or setting up your tooltip. Or maybe something else is happening in your application that is causing it to close.
I'm afraid I don't have any more specific theories than that without more information. Can you post a small sample project demonstrating the issue to we can check it out?
I didn't setup any anything. which might be a part of the problem.
I have a Treeview with many cells, and toolTipManager on the form. I didn't change any properties except increased AutoPopDelay.
I need tooltip to show up when I go over the cell and stay there, but it disappears in 5 seconds.
Can you tell me what settings I'm missing?
thank you
Hi,
You don't need to call ElementFromPoint - the event args give you the element. So you can skip that and go straight to calling GetContext on the element.
Thanks for pointing me to the right direction. Since I have a treeview with details view, and rows 18 columns wide. I had to spend some time figuruing out over which cell mouse is over but I think I finally got it. If you think there is a better solution, please let me know.
Private Sub tvTicket_MouseEnterElement(ByVal sender As Object, ByVal e As Infragistics.Win.UIElementEventArgs) Handles tvTicket.MouseEnterElement Dim nodeAtPoint As UltraTreeNode = tvTicket.GetNodeFromPoint(e.Element.Rect.X, e.Element.Rect.Y)
If nodeAtPoint IsNot Nothing Then Dim pt As New Point(e.Element.ControlElement.CurrentMousePosition.X, e.Element.ControlElement.CurrentMousePosition.Y) Dim child As Infragistics.Win.UIElement = e.Element.ElementFromPoint(pt) If child IsNot Nothing Then Dim cell As UltraTreeNodeCell = TryCast(child.GetContext(GetType(UltraTreeNodeCell)), UltraTreeNodeCell) If cell IsNot Nothing Then UltraToolTipManager2.SetUltraToolTip(tvTicket, New Infragistics.Win.UltraWinToolTip.UltraToolTipInfo(cell.Text, Infragistics.Win.ToolTipImage.Default, "Test", Infragistics.Win.DefaultableBoolean.True)) UltraToolTipManager2.ShowToolTip(tvTicket) ElseIf UltraToolTipManager2.IsToolTipVisible Then UltraToolTipManager2.HideToolTip() End If ElseIf UltraToolTipManager2.IsToolTipVisible Then UltraToolTipManager2.HideToolTip() End If ElseIf UltraToolTipManager2.IsToolTipVisible Then UltraToolTipManager2.HideToolTip() End If End Sub
Hi Nick,
Placing the UltraToolTipManager on the form has no effect on the tree. The properties of the UltraToolTipManager only affect tooltips that are displayed by the UltraToolTipManager. The tree has it's own built-in tooltips and there is no connection between the two.
If you want to control the delay, I think what you need to do is turn off the tree's built-in tooltips (using the TipStyleCell property on the column) and then you could add your own tooltips using the UltraToolTipManager.
Hello Nick,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.