Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

populating column heading of a listbox

Status
Not open for further replies.

AncientTiger

Programmer
Jul 5, 2001
238
US
How do you fill in the column headings of a multi-column list box? Is there something in the object properties that I'm not seeing, or is it done programatically?

Also, is there a way to make the columns resizable? AND is there a way to stick a horizontal scrollbar in there? (just a ton of questions, aren't I ;)

THX!
AT

 
Use the following properties
Code:
    ListBox1.ColumnWidths
    ListBox1.ColumnHeads
    ListBox1.ColumnCount
Column widths are set in points, and all columns have the same width.

If the range of rows exceed the capacity of the list box then a scrollbar should should be included automatically.

See a post earlier toady from LW on a similar theme.

A.C.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top