Thread: Scrolly-Polly
View Single Post
05-21-07, 12:39 AM   #1
GeoMancer
A Murloc Raider
Join Date: Jul 2006
Posts: 4
Scrolly-Polly

Alright, no code here, 'cause I haven't found anything that will work, or anything even close.

I have a large amount of text (Think 30+lines, which are can be 255 characters or longer), that I need to display within a mid-sized frame, say 300x450. The text is just in a simple variable, the lines divided by |n. The issue is that there is a chance that some of the lines of text when wrapped could be larger than the total display area. Of course a scrolling ability would be nice, but as if yet I can't figure out how to implement it.

It was suggested to me that I could make a a few FontStrings and do the scroll by changing their values, but I'm at a loss as to how to do that with the size strings that I'm dealing with, since most strings will end up being longer than the total available space in the little strings, and without dividing the the info into a table or something which I really don't want to do because that would require a -lot- of table entries for a lot of things.

So, er, any suggestions would be useful. And yes, this is a lua question, since I'm trying to write the frames and everything with the lua. ^^; Thanks in advance.
  Reply With Quote