DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: ListBox

  1. #1
    novice Guest

    ListBox


    Hi all,

    I want to put many very long string in a ListBox control. If there are too
    many, a vertical scroll bar is automaticaly added, but if they are too long,
    no horizontal bar is added. If I change the number of collumns, then the
    horizontal bar disappears. Is it possible at all to have both of the scroll
    bars appear and if so what properties should I adjust?
    If no, is there any workaround? Custom control or the like?

    Thanks

  2. #2
    Phil Weber Guest

    Re: ListBox

    > Is it possible at all to have both of the scroll bars appear
    > and if so what properties should I adjust?


    Novice: Try this (found by searching for "listbox horizontal scrollbar" at
    http://www.codehound.com/vb ):

    Displaying the Horizontal Scroll Bar in a Listbox
    http://www.mvps.org/vbnet/code/lista...ntalextent.htm

    Also, if you're new to VB, the vb.getting.started group is the best place to
    post your questions. Hope that helps!
    ---
    Phil Weber



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links