Solved

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

Posted on 2011-03-03
2
759 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This article will show you how to use shortcut menus in the Access run-time environment.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now