Click here to Skip to main content
Licence 
First Posted 28 May 2006
Views 22,741
Bookmarked 22 times

Horizontal ListView Component

By | 28 May 2006 | Article
Component which you can add to your project that allow you to add items horizontal to a ListView component.

Sample Image - ListViewHor.png

Introduction

I had a problem with the free space on my form. I searched for a ListView component which I can use horizontal, instead of vertical. I couldn't find a good component, so.. I made it. By adding this component to your project it allows you to add images with a subscription to the ListView.

How does it works

This component exists of two elements: ListView, HScrollBar. Dependant of the size of the component, the loaded images will be shown.
At the background there is an array where all the images are stored in. Default the first three images are displayed (indices 0, 1 and 2 of the images array). When scrolling the displayed images will move by 1. The items 1, 2 and 3 of the array are displayed.
Furthermore I added some useful functions to the hListView component.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

nicklenting

Web Developer

Netherlands Netherlands

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralSimpler way (works for me) PinmemberX3m9:23 16 Nov '10  
Questionwhat the hell is this? Pinmembermatrixnull19:22 27 Sep '09  
Generalimagelist PinmemberRonni Marker2:20 21 Apr '09  
QuestionChanging the margin between images? PinmemberJames Neno3:33 13 Aug '07  
AnswerRe: Changing the margin between images? Pinmembertgrt6:02 18 Apr '09  
GeneralThanx! PinmemberAdidasSG211:32 8 Jan '07  
GeneralThe content doesn't look advanced... PinmemberJun Du8:58 29 May '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 29 May 2006
Article Copyright 2006 by nicklenting
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid