Datagridview cell details with tooltip

M

Marc Gravell

Well, as a thought (untested) for workarounds: you could keep track of
the last x,y position you updated, and if the mouse hasn't moved
simply exit without updating the tool tip? or perhaps use some kind of
timer so that you only set the tooltip after 200ms of mouse
inactivity? something like that?

Marc
 
E

Eran.Yasso

Well, as a thought (untested) for workarounds: you could keep track of
the last x,y position you updated, and if the mouse hasn't moved
simply exit without updating the tool tip? or perhaps use some kind of
timer so that you only set the tooltip after 200ms of mouse
inactivity? something like that?

Marc

Hello Marc and thanks for the reply.

Is this the only way I can do it? Why can't I use the ToolTip class in
datagridview?
 
E

Eran.Yasso

Hello Marc and thanks for the reply.

Is this the only way I can do it? Why can't I use the ToolTip class in
datagridview?

Ok, found the solution.
If one wishes to use ToolTip() class for Datagridview instead of using
Datagridview built in tooltip, he should set "ShowCellToolTips" to
false.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top