C1SuperTooltip doesn't show after a ToolStripMenuItem.Click

Posted by: matti.saarenketo on 17 September 2018, 11:40 pm EST

    • Post Options:
    • Link

    Posted 17 September 2018, 11:40 pm EST

    C1 version 4.0.20182.320

    .Net framework 4.6.1

    I am attempting to show a customized changing tooltip on each cell of a C1.Win.C1FlexGrid.C1FlexGrid

    I also need a System.Windows.Forms.ContextMenuStrip to be on the grid for specific actions for the C1FlexGrid

    When I update the tooltip in C1.Win.C1FlexGrid.C1FlexGridBase.MouseEnterCell it works fine and I see the tooltip.

    The user clicks on a System.Windows.Forms.ToolStripMenuItem creating the event System.Windows.Forms.ToolStripItem.Click

    After that the C1.Win.C1SuperTooltip.C1SuperTooltip doesn’t show the tooltip properly. I can set the tooltip to be visible by showing the tooltip using C1.Win.C1SuperTooltip.C1SuperTooltipBase.Show functions, but then I would need to handle hiding it as well and I would like to keep my code clean.

    Relevant code:

    Public Class Form1

    Private Sub C1FlexGrid1_MouseEnterCell(sender As Object, e As C1.Win.C1FlexGrid.RowColEventArgs) Handles C1FlexGrid1.MouseEnterCell

    C1SuperTooltip1.SetToolTip(C1FlexGrid1, "I want to see this tooltip.Hovering over row " & e.Row & " col " & e.Col & “”)

    End Sub

    Private Sub TooltipDisablerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles TooltipDisablerToolStripMenuItem.Click
        Debug.Print("After this, the tooltip doesn't show up automatically")
    End Sub
    

    End Class

  • Posted 18 September 2018, 9:24 pm EST

    Hi

    Since I could not replicate the problem at my end, I would need you to modify the attached sample; so that I can see the issue at my end.

    In case you see the issue in this sample also, then you can share your system environment details with me, along with a demonstrating video.

    Prj_CustomTooltip.zip

    Regards,

    Meenakshi

  • Posted 23 September 2018, 7:52 pm EST

    Video of my issue using the solution you provided:

    https://youtu.be/cC3SK2O0NSs

    DxDiag log

    DxDiag.zip

  • Posted 24 September 2018, 11:16 pm EST

    The issue could be replicated in Windows 10 (1803) only. Hence, it has been escalated to the team as bug [Internal ID is 344603].

    You’ll be informed once it is fixed.

    • Meenakshi
  • Posted 14 November 2018, 4:10 pm EST

    Hello ,

    We are happy to inform you that the issue is now fixed.

    In order to verify the fix, please upgrade your ComponentOne version either using C1Live or downloading the latest builds from: http://prerelease.componentone.com/dotnet40/c1winforms/2018-t3/C1WinForms.4_4.0.20183.338.zip

    Please do feel free to let me know if you face any issues.

    Best wishes,

    Ruchir

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels