Results 1 to 4 of 4

Thread: [RESOLVED] [2005] Appending data into a text box

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2006
    Posts
    250

    Resolved [RESOLVED] [2005] Appending data into a text box

    Hi All,

    I have a text box that I have set to a multi-line box. How do I code my application so that I append to the next line within the text box.

    Currently when I have multiple things writing to the box, they overwrite one another.

  2. #2
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: [2005] Appending data into a text box

    Hi
    did you use & to concatenate the strings?
    "The dark side clouds everything. Impossible to see the future is."

  3. #3
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: [2005] Appending data into a text box

    Show some code Giraffe, it usually helps clarify what's going wrong.

    Anyway, you probably want to check out the append method of the textbox:

    vb Code:
    1. Me.TextBox1.AppendText("Text to append here")
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jun 2006
    Posts
    250

    Re: [2005] Appending data into a text box

    thanks everyone. both your suggestions work great!

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