Einar,
Does the Textbox.AcceptsReturn property help?
...Jim
>Well the title says it all :)
>I have a form with a multi-line textbox on it and I have assigned an accept button to the form. So I start typing in my multi-line textbox and I press the enter key, because I want the text to start on a new line, but that is not what happens, instead the accept button's code fires and closes the form.
>
>What I have done in some applications so far is to not use the accept button form property when the form has a multi-line textbox on it, but I kinda like the accept button feature.
>
>Anywho any thoughts on the subject are welcome. Do you use the accept button property? What do you do when you have a multi-line textbox on the same form?
>
>Thanks,
>Einar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only