Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2005

Tip: Looking for answers? Try searching our database.

Listview vertical scroll

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
saurabh - 28 Jan 2005 14:51 GMT
Is the listview (not listbox) not vertical scrollable?
I have the style set as List and scollable = true but don't seem to get the
vertical scroll.
Bruce Wood - 31 Jan 2005 18:35 GMT
All of my list views have scroll bars (when the number of items in the
list view is bigger than the list view can display in the view space it
has available). Are you sure that you put enough items in the list that
you need the scroll bar? The scroll bar(s) show up only when they need
to be there.

As well, what do you mean by "I have the style set as List"? I can find
no style attribute on the ListView, other than the standard one offered
by Control.
saurabh - 01 Feb 2005 11:13 GMT
I have already solved my problem.

I did not add any columns to the ListView, directly added elements and I
never got vertical scroll bar. The view appeared like 'List' type that we
get in the file open dialog. So the elements were one below other till we
got to bottom and then in the next column and so on... It was never
vertically scrollable.

Now I have added a column to the ListView with no header, and make the
column width equal to the width of listview client and I get a nice list
which has all the elements one below other with vertical scrollbar to the
right.

Sorry for the confusion, the property I meant was 'View'.

Thanks,

> All of my list views have scroll bars (when the number of items in the
> list view is bigger than the list view can display in the view space it
[quoted text clipped - 5 lines]
> no style attribute on the ListView, other than the standard one offered
> by Control.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.