Windows Develop Bookmark and Share   
 index > Windows Forms Designer > create multiline label
 

create multiline label

Hi @all
How can I create a multiline lable?

thx
Rumtreibbär  Wednesday, September 14, 2005 9:02 AM
In VB.Net 2005

Put you label on the form.

Go to the Text Property and Press the Dropdown down arrow and type your mutliple lines of text in.

If you programmatically setting the property

something like


Label1.text = "Line1" & vbCRLF & "Line2"
 


Should work just fine and result in label text being shown as

Line1
Line2

spotty  Thursday, September 15, 2005 2:18 AM
In VB.Net 2005

Put you label on the form.

Go to the Text Property and Press the Dropdown down arrow and type your mutliple lines of text in.

If you programmatically setting the property

something like


Label1.text = "Line1" & vbCRLF & "Line2"
 


Should work just fine and result in label text being shown as

Line1
Line2

spotty  Thursday, September 15, 2005 2:18 AM

You can use google to search for other answers

Custom Search

More Threads

• windows forms controls, windows form inheritance, and custom base form properties. And VB.NET
• designer.cs cleanup
• Add design time support to wrapped user controls
• how to open instance of Ms Project
• Time slider Control
• Change notification for listbox collection items
• external callback
• Toolbox default tab when designing a WinForm
• [C++] how can i save graphic to an image file ?
• Can I use UserControl as a TreeNode?