Skip navigation.
 
mlRe: Auto-scrolling text
FROM : Cameron Hayne
DATE : Tue Nov 19 11:10:05 2002

On 19/11/02 1:37 pm, "Brian Bergstrand" <<email_removed>> wrote:

> I still don't know how to do the continuous scrolling thing though.
> Right now, when all of the text has been scrolled, it "jumps" back to
> the beginning, instead of continuing in a loop manner. Quite
> noticeable, but it works.


One possible way would be to have all your text in a circular buffer - e.g.
in an array, one line per element. Then, each time the timer fires, you move
all the text elements that have scrolled off the top to the end of the array
and remove them from the front of the array.
There's probably a better way but that's one way to do it.

--
Cameron Hayne (<email_removed>)
Hayne of Tintagel


Related mailsAuthorDate
mlAuto-scrolling text Brian Bergstrand Nov 18, 17:12
mlRe: Auto-scrolling text Michael Mulligan Nov 18, 18:04
mlRe: Auto-scrolling text Ryan Z. Hale Nov 18, 20:43
mlRe: Auto-scrolling text Ryan Z. Hale Nov 18, 20:44
mlRe: Auto-scrolling text Brian Bergstrand Nov 19, 10:45
mlRe: Auto-scrolling text Cameron Hayne Nov 19, 11:10
mlRe: Auto-scrolling text David Sinclair Nov 19, 11:58
mlRe: Auto-scrolling text Andreas Mayer Nov 19, 13:51