|
-
Jun 14th, 2006, 12:51 PM
#1
Thread Starter
Fanatic Member
[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.
-
Jun 14th, 2006, 02:25 PM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|