-
This must be the easiest question ever, but how do you insert a line break in a bog standard Textbox? I want to do it programmatically cause the textbox will be hidden from the user. For example, I want a small, one line textbox that the user can put text in, then a button that when clicked, puts the text in the small box in the big box, but underneath the last line of text. I honestly cannot remember how you do it!!! HELP!!!!!
-
Greetings Tizzy,
Put this code in the click event of the button:
Code:
Text2 = Text2 & vbCrLf & Text1
Be sure that the MultiLine Property of TextBox2 is set to TRUE.
All the best.
Chris
-
I knew it was soooo easy. Anyway, cheers for the answer, I can get on with it now!