Results 1 to 3 of 3

Thread: Easy one

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Posts
    2

    Easy one

    my question is this...

    HTML tag <br> = soft Return

    In Visual Basic I'm trying to get an output message to print 3 lines on screen, like this:

    Line 1 here
    Line 2 here
    Line 3 here

    instead of this:

    Line 1 here Line 2 here Line 3 Here

    I'm using a label, to display the message. my question is, how to brake between each phrase.

    HTML ----------------------------------------

    Line one here <br>
    line 2 here <br>
    line 3 here <br>

    Thank you in advance

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    This should be in the General VB Questions forum

    VB Code:
    1. Label1.Caption = "Line 1" & Chr(13) & "Line 2" & Chr(13) & "Line 3"

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Posts
    2
    Thanxs

    PS. To the moderators, sorry for the post in the wrong board.... I thought this was the one I was looking for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width