Dating problem (as in: DtPicker control)

Phoebe
10-01-2001, 11:11 PM
For my program, I need to set the .minvalue and .maxvalue property of my dtpicker during run time. (Shift Start and Shift End, actually)

Everything works out fine with the 1st shift. But, with the 2nd shift which begins at 4:00 PM and ends the next day at 7:00 AM, I come across the midnight-hour problem. Then the datepicker control becomes basically useless, only allowing the user to choose either: 4:00 PM or 7:00 AM.

Any ideas or hints that I might use? Thanks

Timbo
10-02-2001, 07:00 PM
how about validating the user's input after the 'Change' event?


"He who dares my son!.. He who dares.." - Del-Boy Trotter

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum