Hi,
I've got a question regarding a datetimepicker control and if I can programatically get rid of the calendar that drops down when the user clicks the arrow button on the control.
Currently I've got my form to function if the user tabs to the date control it will pull down the calendar however when trying to code it to tab out effectively the only way I could figure out to do it is to simulate the UP arrow key being used which doesn't work too well as it puts todays date in the textbox rather than keeping it blank.
Using .NET 3.5 VS2008 if that helps at all
I've got a question regarding a datetimepicker control and if I can programatically get rid of the calendar that drops down when the user clicks the arrow button on the control.
Currently I've got my form to function if the user tabs to the date control it will pull down the calendar however when trying to code it to tab out effectively the only way I could figure out to do it is to simulate the UP arrow key being used which doesn't work too well as it puts todays date in the textbox rather than keeping it blank.
SendKeys.Send("%{F4}")is all I see about having this close the calendar however this doesn't seem to work on my machine - what could be the reason why this would work for everyone elses' datetimepicker control but not mine? The only way I can get it work by tabbing out is simulating the UP key.
Using .NET 3.5 VS2008 if that helps at all