Results 1 to 3 of 3

Thread: Text Box problem

  1. #1

    Thread Starter
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    First, you need to set the TextBox's MultiLine Property to True
    Code:
    Text1.MultLine = True
    Second, in a textbox you need both a Carriage Return & a Line Feed. So, use one of these
    Code:
    Text1.Text = "First Line" & vbCrLF & "Second Line"
    'or
    Text1.Text = "First Line" & vbNewLine & "Second Line"
    'or
    Text1.Text = "First Line" & Chr(13) & Chr(10) & "Second Line"
    I use the the Second One myself
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  2. #2

    Thread Starter
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    Didn't Notice your post HeSaidJoe, i was writing mine at the same time (Yes, i takes me 4 Minutes to write a post)
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Hey, I don't count times.
    Post away and never aplolgize to me for posting below my post, unless of course, you sign my name to it. LOL
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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