Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

All right....

 

Now I have a datetimepicker... What I need is to be able to do is, once the focus gets to the datetimepicker, I want the datetimepicker to open its calendar allowing the user to directly choose the date without him having to click on the arrow on the right of the control....

 

You know these user-friendliness issues :mad:

 

Timeline is ticking my friends :D

Dream as if you'll live forever, live as if you'll die today
Posted

Hi, Mehyar

 

This is probably backwards compatibitity, but it works fine:

 

   Private Sub DateTimePicker1_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles DateTimePicker1.Enter
     SendKeys.Send("%{DOWN}")
  End Sub

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...