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
Solved

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

Posted on 2011-03-03
2
763 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 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

856 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