Results 1 to 11 of 11

Thread: Get last line in a TextBox

Threaded View

  1. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Get last line in a TextBox

    I'm not quite sure what's going on there but here's proof that the Lines property is based on hard line breaks. The screenshot below is from a C# 2005 Express project but I tried the same thing in VB 2005 Express and a VS.NET 2003 C# project and they all behaved the same way.
    Attached Images Attached Images  
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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