ListBox: Can you make set the columns to an automatic width?

  • Thread starter Thread starter AbraAbraCadabra
  • Start date Start date
A

AbraAbraCadabra

Is there a way to set the columns of a ListBox to an automatic width
so that it will widen to fit the largest item?
 
See:
http://www.lebans.com/listboxcolumnresize.htm
ListBoxColumnResize.zip is a Class that allows the user to resize the
ColumnWidths of a ListBox at Runtime.Also supports an Autosizing method for
the ColumnWidths.



Version 2.2 April 27/2002

Modified Columns AutoSizing method to work with both ListBox and Combo
controls.


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top