How do I keeping scrolling text in view in a Listbox or text box?

Posted on 2008-11-04
Last Modified: 2013-12-17
I have an application that outputs text currently to a listbox.  As the text get longer I have to scroll the listbox down to see what is happening.  Ideally I would like to insert text from the top and have the previous text move down but I am open to other ideas as long as they do not get really complicated and keep the current text in focus.  Any suggestions?
Question by:Todd710
    LVL 85

    Accepted Solution

    To insert at the top:

        this.listBox1.Items.Insert(0, "item to insert");

    Author Closing Comment

    Thank you very much for your timely answer!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    This video discusses moving either the default database or any database to a new volume.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now