Adagio
Well-known member
- Joined
- Dec 12, 2005
- Messages
- 162
- Programming Experience
- Beginner
Does anyone here have an idea how to solve this problem:
What I would like is the possibility for the program to automatically change focus to another control as soon as the user has entered a date in the datatimepicker using the keyboard
The problem is I can't seem to find any events that runs when the user has entered the day/month/year
So far the only "solution" I can find is when the keydown event runs, you could see if the year has changed or if it's still the same, then if the year has changed it changes focus. But this doesn't work if the user writes 2007 in the year field when the value was already set to 2007
What I would like is the possibility for the program to automatically change focus to another control as soon as the user has entered a date in the datatimepicker using the keyboard
The problem is I can't seem to find any events that runs when the user has entered the day/month/year
So far the only "solution" I can find is when the keydown event runs, you could see if the year has changed or if it's still the same, then if the year has changed it changes focus. But this doesn't work if the user writes 2007 in the year field when the value was already set to 2007