Skip to content

Key press event for date picker

pioneerpauls

Asked Mar 9, 2005, 10:13 PM EST4 answers
Share
LinkedInX
I want a coding in form level keypress event to capture the ctrl+D keypress to drop down the date picker..I have set the form keypreview property to true..i have captured the keyascii value of ctrl+d as 4.But the problem is i dont know which event to fire to open up the date picker

4 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hi, Look for KeyUp form event to achieve on what you want to do. Hope it helps. Cheers.
    0
  • 0
    Dear sir , I have caught the key press event ...But my actual requirement is to open the date picker on that event eg: i.e If the user press ctrl+d in the form I want the date picker to open up..Please guide me thanks..
    0
  • 0
    I'm thinking that you can't because the help files list no method or property (unless I missed it) which allows it to happen. It's a complicated control and frankly I have found at least one bug that occurs during data-binding. I suggest that if you need the calendar to open that you set a month calendar and use it to simulate the calendar opening of the control.
    0
  • 0
    Thank you sir 4 ur effort.....Please tell me if u find any other choice in future and i will try ur idea now...
    0