Control has the horizontal scrollbar in Visual studio 2005

Posted on 2007-07-30
Last Modified: 2012-06-27
Hi there,
I want to ask a question with the following situation:
I am using Visual Studio 2005 to develop a Winform application. I want to bind my data in the form of string but when I used list box and my string is too long, it cannot be seen at the end because it don't give me the horizontal scrollbar.
And anyone knows which control that similar list box, each line of string item is separated in one line and I can see at the end of each one when it is too long by scroll the horizontal bar.
Or anyone can show me how to do with the list box or similar control to make it have scrollbar!
Thank you very much.
Question by:MarissaShannon
    1 Comment
    LVL 62

    Accepted Solution

    Hi MarissaShannon;

    The ListBox will do it for you:

    Set ListBox.AutoScroll = True
    Set ListBox.HorizontalScrollbar = True


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    754 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

    20 Experts available now in Live!

    Get 1:1 Help Now