Results 1 to 7 of 7

Thread: line count in textbox (solved)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2005
    Location
    earth
    Posts
    89

    line count in textbox (solved)

    how do you count the lines in a textbox? you know so it will say line 256 or what ever line im on .... also im going to make so kind of goto command that will go to that line in the textbox ..... but im not sure what would be the best way to do that
    Last edited by zhahaman2001; Apr 7th, 2006 at 11:52 PM.
    Aim: zhahaman2001

  2. #2
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2005
    Location
    earth
    Posts
    89

    Re: line count in textbox

    thanks
    Aim: zhahaman2001

  4. #4
    Hyperactive Member
    Join Date
    Oct 2005
    Posts
    294

    Re: line count in textbox (solved)

    Should fit your needs
    Attached Files Attached Files

  5. #5
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: line count in textbox (solved)

    @frozen, your code detects only hard linebreaks. It can't detect the linebreakes that occurs due to wordwrap. Please read the developerfusion link I posted in post#2.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  6. #6
    Hyperactive Member
    Join Date
    Oct 2005
    Posts
    294

    Re: line count in textbox (solved)

    Never seen a textbox just use cr or lf

  7. #7
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


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