Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code CRLF in a KeyDown Event 1

Status
Not open for further replies.

beckwiga

Programmer
Mar 30, 2005
70
What is the easier way to code a CRLF for my Text82_KeyDown Event? I want to be able to move to the next line of my text box if the user hits return(instead of leaving the text box which it currently does). Kindof like the function of the CTRL+ENTER if i do this in the text box now. Any ideas?
 
Why not simply set the EnterKeyBehavior property of the TextBox to True ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top