PC Review


Reply
Thread Tools Rate Thread

DateTimePicker rollover & carry

 
 
=?Utf-8?B?UmF5IE1pdGNoZWxs?=
Guest
Posts: n/a
 
      23rd Apr 2007
Hello,

I have a DateTimePicker set to the custom format HH:mm:ss. (I used the
custom format to avoid the AM/PM part, even though my OS is set up for the
12-hour time format.) It works fine except that when the number of seconds
are incremented past 59 or are decremented below 00, it does not carry into
the minutes field. Similarly for the minutes field carrying into the hours
field. I assume this is something I must do myself within the ValueChanged
event. I figure the way to do it is to keep a copy of the the previous
values then compare and update the control each time a ValueChanged event
occurs. Or, is there a nice clean built-in feature that does this?

Thanks,
Ray
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DateTimePicker time field carry/borrow - still stymied! =?Utf-8?B?UmF5IE1pdGNoZWxs?= Microsoft C# .NET 1 2nd May 2007 12:34 AM
rollover =?Utf-8?B?SmFjcXVpZUND?= Microsoft Frontpage 6 20th Nov 2005 02:11 PM
auto-fill, set carry to, set carry on etc vw Microsoft Access Forms 1 4th Sep 2004 07:29 AM
rollover stephanie Microsoft Frontpage 4 15th Oct 2003 02:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:59 AM.