Mark Gambo
Dec 7th, 2005, 03:57 PM
I had a need to create code that would scroll a listview without using scrollbars. I figured out a way to use use command buttons to accomplish this task. There are three (3) modes to scroll the listview: Individual Icons, Page of Icons, and Goto the first/last icon. The attached project will explain the concept. You need to have two listviews on the form one that has scroll bars and one that doesn't (.FlatScrollBar = True). Hide the listview with the scrollbars behind the one without by using the .ZOrder property. Make sure that they are both visible.