In the Textbox's KeyDown event, do something like this:
If e.KeyCode = System.Windows.Forms.Keys.Enter Then
<do some stuff>
else
<do something else or nothing at all>
end if
james
"Boki" <bo******@ms21.hinet.net> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
Hi All,
Could you please advice that how to detect the enter "key" event....
due to I don't want another button to do "Go" function.....
Best regards,
Boki.