New line in label

G

Guest

I want to start a new line in label, how do i do it. currently my code is:
lable.text = "this is a test" + "123"
and it displays like this. 'this is a tes 123'

and I want it to display as:
'this is a test'
'123'
 
H

Herfried K. Wagner [MVP]

Ithaqua said:
I want to start a new line in label, how do i do it. currently my code is:
lable.text = "this is a test" + "123"
and it displays like this. 'this is a tes 123'

and I want it to display as:
'this is a test'
'123'

\\\
Me.Label1.Text = "Hello" & Environment.NewLine & "World"
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top