ToolTip on Cell

Posted by: shetal11 on 8 September 2017, 12:57 pm EST

  • Posted 8 September 2017, 12:57 pm EST

    Hi,


    Is there a way to display tooltip for each cell when mouse hovers over a cell. The tooltip text needs to be different than what is value or text of that cell?


    Thanks


    Shetal


     

  • Replied 8 September 2017, 12:57 pm EST

    Shetal -

    You can use the TextTipFetch event and use the various properties in it to display the tooltip.
  • Replied 8 September 2017, 12:57 pm EST

    I have tried this event with following code


    e.showtip = True


    if e.FetchCellNote = False then


       e.TipText = "This is Test"


    end if


    with tis code I am able to see tooltip "This is Test" on every cell. My probleam is each cell needs to have different ToolTip and when I add text to each cell that time I am storing the text for tooltip as tag for each cell. Now when mouse hovers over cell how do I retrieve that cell's tag value and display as ToolTip?


    Thanks


    Shetal


     


     

  • Replied 8 September 2017, 12:57 pm EST

    You should be able to check the tag for the cell using the e.Row and e.Column properties and then set the TipText to the value returned from the Tag.
Need extra support?

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

Learn More

Forum Channels