Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Displaying a Horizontal Scrollbar for a single Column in a VBA ListView

Posted on 2011-03-03
2
Medium Priority
?
776 Views
Last Modified: 2012-05-11
I have a ListView with 2 columns. I want to display a horizontal scrollbar for the first column olny such that I can scroll horizontally through the first column while the 2nd column remains in view in the ListView;.

By seting the widh of the first column > the width of the Listview I get a horizontal scrollbar. However, the scrollbar is being aplied to the ListView as a whole, not to the first column.So I must scroil the ListView to see the 2nd column.

How can I specify a horizontal scrollbar for the first column only?

Thanks in advance.

Joe
0
Comment
Question by:borgtamer
2 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 2000 total points
ID: 35027956
You cannot do that, as far as I know.
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 35028746
I agree with Rorya. One dirty work around is to use two listviews. The first one has only 1 column and the second one doesn't have Col 1 but has data from Col 2 onwards..

Sid
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question