Combobox Columns width

P

Pietro

Hi ,

I've a combobox with a Columncount property set to 2 to display two
columns...it works fine but i want to know how to control the width of each
column,as i need the first one to be narrow as it contains a number consits
of 4 digits,and the second one should be much wider as it contains the full
name...
Any suggestions?
 
A

akphidelt

Go to properties... under the Format tab you will see Column Widths

Play around with that but it should look something like this

1";1.5"

This would make the first column 1 inch and the second 1 and a half.
If there is an ID column that you don't want to show then it would look like

0";1";1.5"
 
K

Ken Sheridan

In addition to setting the ColumnWidths property as the other respondent
described, also set the ListWidth property to the sum of the column widths,
so if these were 1.5cm and 3cm, then the ListWidth would be 4.5cm.

Ken Sheridan
Stafford, England
 
Top