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..?

Recommended Answers

All 3 Replies

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

commented: For helping me 1 reputation point :) +1

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

Hi,

Thank You :)

Regards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.