Home All Groups Group Topic Archive Search About
Author
6 Jan 2006 1:03 AM
Ithaqua
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'

Author
6 Jan 2006 1:14 AM
iwdu15
put able.text = "this is a test" & vbnewline & "123"
--
-iwdu15
Author
6 Jan 2006 1:23 AM
Ithaqua
Cheers

Show quoteHide quote
"iwdu15" wrote:

> put able.text = "this is a test" & vbnewline & "123"
> --
> -iwdu15
Author
6 Jan 2006 1:31 AM
Herfried K. Wagner [MVP]
"Ithaqua" <Itha***@discussions.microsoft.com> schrieb:
>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"
///

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
6 Jan 2006 1:50 AM
Ithaqua
Thank you

Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "Ithaqua" <Itha***@discussions.microsoft.com> schrieb:
> >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"
> ///
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>
>
>