Results 1 to 4 of 4

Thread: [RESOLVED] Textbox Multiline

  1. #1

    Thread Starter
    Addicted Member Garrett19212's Avatar
    Join Date
    Jan 2005
    Location
    US
    Posts
    220

    Resolved [RESOLVED] Textbox Multiline

    How would I add multilines in a text box with code, I have multilines enabled.

    Example

    Text1.Text = "1,2,3"
    How can I make it display on the text box

    1
    2
    3

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Textbox Multiline

    Like this.


    VB Code:
    1. Text1.Text = "1" & VBCRLF & "2" & VBCRLF & "3"

  3. #3

    Thread Starter
    Addicted Member Garrett19212's Avatar
    Join Date
    Jan 2005
    Location
    US
    Posts
    220

    Re: Textbox Multiline

    Thanks again.

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [RESOLVED] Textbox Multiline

    Or you can use vbNewLine which is a platform dependent constant.

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