Solved

setting column width for listview control

Posted on 2001-07-05
1
363 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

772 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

12 Experts available now in Live!

Get 1:1 Help Now