Our DateTime Control is a UserControl with a TextBox for the date, a button that pops up a Calendar control and another TextBox for the time.
The TextBoxes make use of an InputMask (we have our own class for a MaskedTextBox), plus they use Regular Expressions. As I said, it's quite complicated with over 800 lines of code if you count all the pieces that make it up. I don't even pretend to understand how it all works. <g> It just does.
~~Bonnie
>Any hints on how to approach the problem of heads down data entry? By that, I mean the ability of the control focus to move seamlessly from month to day to year without having to hit the arrow keys. The control would have a custom format of 'MM/dd/yyyy'. Thanks.