Hi Tannearu,
The GridTextExtender class provides a "tooltip" text extender for a cell in a grid if the cell's text is longer than the cell width. Use a separate GridTextExtender
class for each grid. Here is a code snippet to show this.
////The the form class:
private GridTextExtender m_oGridTextExtender = null;
////On form load:
m_oGridTextExtender = new GridTextExtender(this);
///// In the grid's MouseMove event handler:
private void grid_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
m_oGridTextExtender.Show(grid, new Point(e.X, e.Y));
}
Please refer the sample for implementation.
GDBGCellToolTipText.zipBest Regards,
Haneef