470,632 Members | 2,176 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,632 developers. It's quick & easy.

putting a "/" after two digits entered without using KeyUp

Hi,

I have a DataGrid cell which the user enters dates to it.
i want that after the user has entered 2 digits (dd) a "/" will be entered
automaticly, and then after the 2 next digits another "/" will be entered. so
at the end the date will be dd/mm/yyyy.
I know how to do it with KeyUp Event, but since i have a problem and only
the KeyUp event doesn't work on my cell (The KeyDown,KeyPress are working), i
have to find a different solution,
Can anyone help me? I tried to change my KeyUp function to fit the KeyDown
and failed...

Thanks,
Gidi
Apr 23 '06 #1
0 940

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by Alex Martelli | last post: by
9 posts views Thread by adam | last post: by
26 posts views Thread by Chris Potter | last post: by
40 posts views Thread by aku | last post: by
11 posts views Thread by =?ISO-8859-1?Q?Une_B=E9v?==?ISO-8859-1?Q?ue?= | last post: by
3 posts views Thread by =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.