Avatar of jazjef
jazjef

asked on 

Add & Remove lines from top/bottom of VB6 multiline textbox

Using VB6, I want to add a new line of text to the bottom of a multiline textbox, and remove the top line immediately thereafter. So, the 'newest' line is always at the bottom, and the oldest line is always at the top. I would like the box to have 7 lines of text in it before this removal procedure takes place----thus the textbox will always have 7 lines of text in it.

I guess you would call this a 'vertical scrolling effect', with a 7-line buffer of text that has to be maintained....

Anyone know how to do this?....many thanks.
Visual Basic Classic

Avatar of undefined
Last Comment
Martin Liss

8/22/2022 - Mon