Hitting return next to a text control

  • Thread starter Thread starter Mark Allison
  • Start date Start date
M

Mark Allison

Hi,

On my Windows Form I have a text control and a button. The text control
is single-line and I want the user to be able to type something in it,
but when they hit Enter, I want this to click the button, (so the user
doesn't have to click the button using a mouse).

How do I do that?

Thanks.

--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
 
Back
Top