Mehyar Posted November 23, 2004 Posted November 23, 2004 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 Quote Dream as if you'll live forever, live as if you'll die today
m_oliveira Posted November 29, 2004 Posted November 29, 2004 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 Quote
AlexCode Posted November 29, 2004 Posted November 29, 2004 Usually sending the F4 key also works... Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
m_oliveira Posted November 29, 2004 Posted November 29, 2004 Quote Usually sending the F4 key also works... Oh, I think I've chosen ALT+DOWN because I'm addicted to arrow keys... :D Quote
Mehyar Posted December 4, 2004 Author Posted December 4, 2004 Guys Thanks a million for your help !!!! Quote Dream as if you'll live forever, live as if you'll die today
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.