Solved

setting column width for listview control

Posted on 2001-07-05
1
370 Views
Last Modified: 2011-10-03
How do you set the column width for a listview control?

thanks,
jptu
0
Comment
Question by:jptu
1 Comment
 
LVL 14

Accepted Solution

by:
mgrattan earned 100 total points
ID: 6257787
Let's say your ListView control is called List1.  Here's an example of how to set the column widths:

Me!List1.ColumnHeaders(1).Width = 1440

This sets the width of the first column to 1440 twips; or approximately one inch.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 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