Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to append the text

how to append the text

Scheduled Pinned Locked Moved C#
tutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anilksingh
    wrote on last edited by
    #1

    how to add the text in text box so that it will add at the end of text box and the newely added text should be visible. Note :the focus is not present on the text box.

    R S A 3 Replies Last reply
    0
    • A anilksingh

      how to add the text in text box so that it will add at the end of text box and the newely added text should be visible. Note :the focus is not present on the text box.

      R Offline
      R Offline
      rah_sin
      wrote on last edited by
      #2

      try out TextBox1.Text=TextBox1.Text+"New string";

      rahul

      1 Reply Last reply
      0
      • A anilksingh

        how to add the text in text box so that it will add at the end of text box and the newely added text should be visible. Note :the focus is not present on the text box.

        S Offline
        S Offline
        Shajeel
        wrote on last edited by
        #3

        textbox1.AppendText(text);

        Regards Shajeel

        1 Reply Last reply
        0
        • A anilksingh

          how to add the text in text box so that it will add at the end of text box and the newely added text should be visible. Note :the focus is not present on the text box.

          A Offline
          A Offline
          albCode
          wrote on last edited by
          #4

          TextBox1.Text +="new text string";


          "My advice to you is to get married. If you find a good wife, you will be happy; if not, you will become a philosopher." Socrates

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups