
Text-scrolling within a viewer
: This may seem like a silly question but is there any quick and easy way
: of making a viewer scroll as information is diplayed?
: At the moment when i write to a viewer it does not print the information
: that goes "off" the viewer without me explicitly moving to the scroll bar and
: moving the viewer up.
WriteFrames.Show adjusts the viewer so that it displays the text
starting at pos.
WriteFrames.Show( F, pos );
In your case you want to display the text so that it always includes
the last line. The problem is that your text could contain
ticking clocks, big fonts and other stuff, so it is hard to guess
where pos is.
If you always appending text of one font in a fixed size frame
then can simply show the text from text.len-N to text.len.
I think this will work most of the time.
WriteFrames.Show( F, text.len - N )
Whitney