textbox query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,
i've a textbox on my form
whenever user presses ENter key, i want to capture the entire text...
how can i acheive it
 
Add an event handler for the textbox's keydown event. Then, use the e
parameter to determine if the enter key was pressed. If it was pressed,
read the value of the textbox's text property.
 
Back
Top