DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Label control

  1. #1
    Join Date
    Nov 2004
    Posts
    293

    Label control

    I have a simple lable on my form and I want to force a new line with some of the text. I can adjust the width of the label but that doesn't work in all situations. Is their a way to force a new line in the label control ?

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Code:
    Private Sub Command1_Click()
    Label1.Caption = Label1.Caption & vbCrLf & "I'm line number two."
    End Sub

Similar Threads

  1. Replies: 6
    Last Post: 05-31-2010, 07:19 PM
  2. Label Control Text Alignment....
    By Boyd Campbell in forum .NET
    Replies: 3
    Last Post: 02-14-2003, 03:24 PM
  3. Replies: 0
    Last Post: 04-11-2002, 06:48 PM
  4. Replies: 0
    Last Post: 02-04-2001, 10:56 AM
  5. Replies: 0
    Last Post: 02-04-2001, 10:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center