MultiLine Text box Enter same line
MultiLine Text box enter click how it comes next line?what property i need to give for same multi line text box next line.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jul 19, 2013, 8:37 AM
Try like this
bind the keypress event for the multiline textbox
this.textBox1.KeyPress += new KeyPressEventHandler(this.textBox1_KeyPress);
Regards,
Iftikar
VulpesPosted Jul 19, 2013, 6:14 AM
http://msdn.microsoft.com/en-us/library/system.windows.forms.textboxbase.lines.aspx