I'm wondering how a DateTime Picker control can trap a <Enter> key. I want a DateTime Picker control can response to <Enter> key so that it can move current focus to another control (has same effect as pressing <Tab> key).
In the KeyPress event of DateTime picker I do this:
if (KeyAscii = 13) then
KeyAscii = 0
This code successfully run on TextBox & ComboBox control, but it fails on DateTime picker control. Any ideas?
Thanks in advance