list box columns widths

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I've got list box with 12 columns
Column Widths property is set to: 1";1";1";1";1";1";1";1";1";1";1";1
Now I want to change column widths for the first column to 0,6"
but every time I do that Access transfers it in 0";6";1";1" .... (not typing mistake
There is US measurement system set in control pane
What shall I do
Thanx
 
you need to set it to 0.6" not 0,6"



Hi,
I've got list box with 12 columns.
Column Widths property is set to: 1";1";1";1";1";1";1";1";1";1";1";1"
Now I want to change column widths for the first column to 0,6"
but every time I do that Access transfers it in 0";6";1";1" .... (not typing
mistake)
There is US measurement system set in control panel
What shall I do?
Thanx
 
It works for the first column. When I type 0.6
I get 0,6" after save
But when I try the same for the second column I get all unformated
0";6";0";6";1"...
 
The Access ListBox conttol does not support/expose an AutoSizing method.
A workaround is here:
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.
 
Back
Top