Go to newline in a label control.

foxerboy76

New member
Joined
Apr 14, 2005
Messages
1
Programming Experience
3-5
Dear All,
I want to go to a newline in a label control.
i want to put my outputs in the label but separate results by going to next line.
for example:
one,
two,
three,
four

each result prints in a newline in my label control.
thanks:)


 
Or, even better (well, different anyhow...)

Environment.NewLine

and, with the shortcut

Dim nl As String = Environment.NewLine
(notice that, in this example, the new line is of Type String and not Char, for what its worth)
 
Last edited:
Dim nl as Char = ControlChars.NewLine
and
Dim nl as String = Environment.NewLine
both work the same, Char uses less memory to do the same thing
 
Back
Top