Cell ToolTip

Hi, Is it possible to set a tooltip for a cell? Sebastien

7 Replies

SH Stefan Hoenig Syncfusion Team July 18, 2002 08:09 PM UTC

> Hi, > > Is it possible to set a tooltip for a cell? > > Sebastien Hi Sebastian, I'll prepare a sample for this over the weekend and will post a solution here. Stefan Hoenig


SH Stefan Hoenig Syncfusion Team July 22, 2002 01:32 AM UTC

Attached find a sample. Please note that I only tested it under Windows XP and it uses PInvoke to acces the ToolTip Common Control. The tooltip text for a cell is specified with the GridStyleInfo.Description property. Stefan


GA Gayathri May 4, 2006 10:20 AM UTC

Hi, I am doing the same thing in VB.NET.. The tooltip shows but it is only of junk characters.. any idea of what mistake I could have done?? Thanks in advance.. >Attached find a sample. > >Please note that I only tested it under Windows XP and it uses PInvoke to acces the ToolTip Common Control. > >The tooltip text for a cell is specified with the GridStyleInfo.Description property. > >Stefan


AD Administrator Syncfusion Team May 4, 2006 10:47 AM UTC

Hi Gayathri, Here is a VB.Net sample. Regards, Calvin.

CellToolTip_VB.zip


GA Gayathri May 8, 2006 08:21 AM UTC

Hi Calvin, I am getting a compilation error saying that Controltooltip is not accessible as it is private in the solution you had given... I am using Syncfusion version 1.6 .. Is that anything to do with it? any other fix for this problem? Thanks.. >Hi Gayathri, > >Here is a VB.Net sample. > >Regards, >Calvin. >

CellToolTip_VB.zip


AD Administrator Syncfusion Team May 8, 2006 12:37 PM UTC

Here is another sample that just uses a Windows Forms ToopTip object to manage this task. I think techniques should work OK with 1.6, but I did not try it with that version. In later versions, there is a simple GridStyleInfo.CellTipText property you can set for a cell to get a tip.

GridToolTip.zip


GA Gayathri May 9, 2006 06:08 AM UTC

Thanks a ton! It works fine. >Here is another sample that just uses a Windows Forms ToopTip object to manage this task. I think techniques should work OK with 1.6, but I did not try it with that version. In later versions, there is a simple GridStyleInfo.CellTipText property you can set for a cell to get a tip.

GridToolTip.zip

Loader.
Up arrow icon