Click here to Skip to main content
15,670,092 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have a tooltip defined for a datagridview cell. It displays when I hover the mouse over the cell. I'd like however to update the contents of that tooltip when it displays. How can I best do that? Is there a tooltip display event? The mousehover event doesn't seem to really work in this regard.


1 solution

If I get what you're talking about doing, there isn't an event like you're talking about.

What you'd have to do is handle the DGV's CellMouseHover and probably CellMouseLeave events to interrogate the cell the mouse is over and set the ToolTip's Text property as the mouse moves.

Share this answer

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900