tooltip hint

  • Thread starter Thread starter giddy
  • Start date Start date
G

giddy

hi ,

i'm somewhat new to C# .. so i might be asking a silly question.. but i
have tried searching forums after reading msdn docs , for this.

I have a column for dates in my datagridview. As soon as the user
starts typing the date into it one of the cells. i want a tooltip to
popup nearby and say 'press T to enter todays date' much like MS word -
when u type jan... a tooltip popups telling you 'press ENTER to INSERT
January'


Thanks
 
I bet you need to inherit the grid using partial class to do that. If I were
you I will do this in textbox. If the goal at the end is just inserting data
...

chanmm
 
acutually i mamaged to get a tooltip to force show during the
EditingControlShowing event , because this returns e.Control , which
can be passed to the tooltip shw method.... is'nt there any other
envent like this?? i want the tooltip to show during "cellBeginEdit"

i can resort to API .. createWindow .. and display the tooltip .. but
i'm keeping that as my last option!

now about the inherting thing , is there a way i can make the
cellBeginEdit event return e.Control ??

sry i took so long!

thanks

Gideon
 

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

Back
Top