Hello Everyone,
I really like the DTPicker control, but in my application I allow dates to be entered without formatting (as a simple string with a TGet()). I have validation code which normalizes the date string and tells the user if there is a problem with the date when focus is shifted away. This is the way QuickBooks handles dates, and allows for quick entry without getting "hung up" on the slashes. For example you could enter:
1 2 6
...for January 2, 2006 with or without the slashes. And since the whole date string is highlighted when the control receives focus, blanking out a date is as simple as pressing the space bar and the tab key.
Does anyone know a way to turn off the date validation and slash (/) formatting in a TDatePick object, while keeping the pop-up calendar functionality?
Thanks!
-Patrick