I got the point. ==> You must have "Multiline" and "WantReturn" properties set on this edit box. As I observed while testing, the following is true. --> If you set just the "Multiline" then only keydown gets fired and not the keyup. --> If you set just the wantreturn and not the Multiline then only keyup gets fired and not keydown. thats it.
Habeeballah Hasnoddin