Horizontal Scrollbar on listbox

S

Stephen Lloyd

Thanks in advance...

I'm filling a listbox using the rowsource property. Although the names are
not too long for the listbox (not even close) it is adding a horizontal
scrollbar automatically.

I checked and there are not leading or trailing spaces on any of the list
items.

What property can I change to remove the horizontal scrollbar.
 
J

Jim Rech

The default "ColumnWidths" are quite wide. Set that property to the widths
you need, e.g. 50;50;50; etc. A semicolon is the separator.

--
Jim
| Thanks in advance...
|
| I'm filling a listbox using the rowsource property. Although the names
are
| not too long for the listbox (not even close) it is adding a horizontal
| scrollbar automatically.
|
| I checked and there are not leading or trailing spaces on any of the list
| items.
|
| What property can I change to remove the horizontal scrollbar.
 

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

Top