Hi guys,
I'm a freshie to VB.NET. I know that DateTimePicker(DTP) can be edited on keypress(UP/DOWN Key). This is perfect.
Now im using DTP with custom format(hh:mm tt - 12:00AM). I would like to make the DTP editable through keypress(character keypress). I'm able to set focus on hh or mm or tt separately and use the UP/DOWN key to edit but it is not working if I press on any numeric keys(0-9). I guess there is no implementation for this.
I tried to implement one myself but I got stucked in.
1) how to know where is my current focus, whether its hh mm tt?
2) and if i'm able to know the focus, how to update the new value to the DTP object?
Are there any experts on this would like to give a hand or suggest me any other sites where I can get more information about this?
Thanks in advance,
Skunkhead.