Automatically adapt listbox column width
问题 I programmatically add elements from a database to a multicolumn listbox using this code : Do While (Not rs.EOF) ExistingSheetsListBox.AddItem ExistingSheetsListBox.List(i, 0) = rs.Fields(0) ExistingSheetsListBox.List(i, 1) = rs.Fields(1) ExistingSheetsListBox.List(i, 2) = rs.Fields(2) ExistingSheetsListBox.List(i, 3) = rs.Fields(3) ExistingSheetsListBox.List(i, 4) = rs.Fields(4) i = i + 1 rs.MoveNext Loop The insertion in the listbox works fine, but the column width is not always adapted to