Scrollable Textbox
Posted: Sat Apr 04, 2009 10:09 am
I've been wondering if this exists already or if it's possible to implement a scrollable textbox. I've done some searches on the forum, but couldn't find an answer.
Basically, what I'm looking for is a textbox that can be scrolled, hold either an infinite or limited amount of lines.
Is this possible?
EDIT: After testing some ideas out, I think I've figured out a possible solution: Use Scissor to remove the excess text.
Now, the only issue would be when scissor is used, as it should be used BEFORE everything else(That isn't apart of that single textbox) is draw. I may work to build a simple example when I have time.
EDIT1: Another method I was pondering was place all the text into it's a table. And text is added, the window will remove a line from the top of the current visible list. The table would continue to retain all the information, so that as the user scrolls up, it will "scoot up" the list.
Basically, what I'm looking for is a textbox that can be scrolled, hold either an infinite or limited amount of lines.
Is this possible?
EDIT: After testing some ideas out, I think I've figured out a possible solution: Use Scissor to remove the excess text.
Now, the only issue would be when scissor is used, as it should be used BEFORE everything else(That isn't apart of that single textbox) is draw. I may work to build a simple example when I have time.
EDIT1: Another method I was pondering was place all the text into it's a table. And text is added, the window will remove a line from the top of the current visible list. The table would continue to retain all the information, so that as the user scrolls up, it will "scoot up" the list.