ListBox


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

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



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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center