|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
New line in labelI 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' Cheers
Show quoteHide quote "iwdu15" wrote: > put able.text = "this is a test" & vbnewline & "123" > -- > -iwdu15 "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/> 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/> > >
Displaying info in status bar of main form
Why won't my DataTable.Update? Label control questions; avoiding cut-off text IRDA with VB2005 VB2005 - Bound Date TextBox Issues DirectCast - Why is this not working? dropdownlist --> URL Inserting an image file in a datagrid view column- how AutoIdent Windows Service and App.Config problem |
|||||||||||||||||||||||