Results 1 to 2 of 2

Thread: [2005] Textbox scrolling

  1. #1

    Thread Starter
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    [2005] Textbox scrolling

    Using a RTB or regular Textbox, is there a way to find which line is being displayed at the tob of the box? For instance, if the textbox has 50 lines, and the user scrolls down so that the 21st line is displayed at the top of the box, I would want to be able to find out that line. Thanks.

  2. #2
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: [2005] Textbox scrolling

    Hi, I haven't found a way either. It seems that the default textbox and richtextbox don't really bother with the scrolling. A bit off topic to illustrate this - when you are searching for text and make them select the found string, if that string ends at the end of the line and if the text had been previously scrolled bellow the found string, the richtextbox scrolls up to the caret (which after the selection is at the beginning of the new line).

    The user simply can't see any selection as it lies over the upper border of the richtextbox.

    I'd be gladly wrong, but I doubt that scroll and line number can be tied together.
    VB 2005, Win Xp Pro sp2

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