I want the button to submit the information when i press enter...
for example... i enter information into a textbox and hit enter... i want the info to be submitted... what string do i use?
Printable View
I want the button to submit the information when i press enter...
for example... i enter information into a textbox and hit enter... i want the info to be submitted... what string do i use?
http://msdn2.microsoft.com/en-us/library/f54axdak.aspx
keyup, usually.
thanks... that works...Quote:
Originally Posted by superbovine
Keyup works when the control has focus. But you can also set the forms AcceptButton property to whichever button you want in the forms designer.