Results 1 to 6 of 6

Thread: *SOLVED* Adding text to a textbox programmatically

Threaded View

  1. #1

    Thread Starter
    Addicted Member DJ_Catboy's Avatar
    Join Date
    Jan 2003
    Location
    Suffolk, UK
    Posts
    159

    *SOLVED* Adding text to a textbox programmatically

    Hi,

    Really stupid easy stupid question probably...

    I want to add some data to a text box but using code. So I am doing...

    Code:
    textBox1.AppendText("AddressLine\n\r");
    I have added this code to a button, repeated presses make the textbox's contents as follows:

    AddressLineAddressLineAddressLine

    And then when I count the number of lines it is showing as 3 - however the carriage returns are not working correctly!

    Please can somebody help me!

    Thanks,
    DJ
    Last edited by DJ_Catboy; Jan 19th, 2004 at 03:56 AM.

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