0

Ok i'M making a program for a game a tool software I made that when I press a button in another dialog it appear a text + textboxs.text so when I press a button it appears in the dialog but all in the same line how do I do that when I press the button the textbox in the other dialog says:
whatever the line says
then enter another line..?

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by QVeen72
1

Hi,

Try This :

TextBox1.Text = TextBox1.Text & Chr(13) & "New Text"
OR
TextBox1.Text = TextBox1.Text & vbCrLF & "New Text"

Note: Multiline should be True for the Textbox..

Regards
Veena

Votes + Comments
For helping me 1 reputation point :)
0

vbCrLF worked perfectly Thx :)
Reputations for you + Resolved Thread
Thank you.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.