1 Attachment(s)
Scroll a Listview without Scrollbars
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.
Re: Scroll a Listview without Scrollbars
My original reason for having to find code to scroll a listview is to design that perfect Outlook Bar Control. I disliked the scroll bars that were displayed whenever the listview had More icons than could be displayed. This is a compilation of code I found on google. I take no credit for this Code other than combing it into this project. I look forward to any comments regarding the project.
Thanks,