In a Visual COBOL 2010 Winform project, how does one display a Tooltip image for a dataGridView control where the image displayed is dependant on the row in the control over which the mouse is currently hovering? Each time the mouse is moved over a different row the image to display will be changed to reflect the new row.
This demo shows how to display a Tooltip image for a dataGridView control which is dependant on the row in the control over which the mouse is currently hovering.
Each time the mouse is moved to a different row the image to display will be changed to reflect the new row.
Please download and unzip the attachment called GridTooltip.zip into your C: drive, retaining the folder structure in the zip file.
Open Visual Studio 2010 and open the solution C:\GridTooltip\GridTooltip\GridTooltip.sln.
Build and run the demonstration by pressing the F5 key.
Hover over each row in the dataGridView control to see the Tooltip that is displayed for each.