Hi!
I use a DateTimePicker control to display the time. MaxDate is set for example to 2:10 and the control's Value is 1:55. If I select the hour in control and use up-arrow to increase the hour, the control's value is changed to 2:10, which is MaxDate value. But if Value is 1:55 and I try to type 2 instead of 1, the Value is not changed. I'd like to set control's Value to its MaxDate value in this situation too. Could you give me a suggestion how to do this, please?
Mihaela
I use a DateTimePicker control to display the time. MaxDate is set for example to 2:10 and the control's Value is 1:55. If I select the hour in control and use up-arrow to increase the hour, the control's value is changed to 2:10, which is MaxDate value. But if Value is 1:55 and I try to type 2 instead of 1, the Value is not changed. I'd like to set control's Value to its MaxDate value in this situation too. Could you give me a suggestion how to do this, please?
Mihaela