Solved

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

Posted on 2011-03-03
2
767 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

734 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