Listbox

R

ranswrt

I am having a problem sizing a listbox on a form. The number of items
changes in the list. I multiply the number of items by 9.95 and set the
height to this. The maximum height is 208.95. When the list is longer than
21 items and I scroll to the bottom the last Item isn't showing.

Is there a better way to change the height of the listbox dependant on the
size of the list?
Thanks
 
A

Anant.Basant

I am having a problem sizing a listbox on a form.  The number of items
changes in the list.  I multiply the number of items by 9.95 and set the
height to this.  The maximum height is 208.95.  When the list is longer than
21 items and I scroll to the bottom the last Item isn't showing.

Is there a better way to change the height of the listbox dependant on the
size of the list?
Thanks

Hi,

The question is not very clear to me. ListBoxes have scrollbars when
the list they contain has more items than can be shown on one ListBox
screen.

Thanks
Anant
 

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