Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 22038

how to clear textbox using esc key

$
0
0
how do i clear a textbox when a user presses the esc key.
currently i have
if e.keycode=keys.escape then
txtuser.text =""
end if
on the keydown event but nothing is happening

Viewing all articles
Browse latest Browse all 22038

Latest Images

Trending Articles



Latest Images