scroll all list box item

I

iccsi

I would like to know how to scroll all list box items includes non-
selected.


I use ItemsSelected to scroll one by one for Item Seleted.


I would like to know are there any property to scroll all the items
includes every items.

Your help is great appreciated,
 
M

Marshall Barton

iccsi said:
I would like to know how to scroll all list box items includes non-
selected.

I use ItemsSelected to scroll one by one for Item Seleted.

I would like to know are there any property to scroll all the items
includes every items.


If you want to iterate (scroll is the wrong word?) through
all the items in a combo/list box use the ItemData or Column
property:

For k = 0 to cbo,ListCount -1
x = cbo.ItemData(k) 'bound column only
y = cbo.Column(col, k) 'any column
Next k
 
I

iccsi

If you want to iterate (scroll is the wrong word?) through
all the items in a combo/list box use the ItemData or Column
property:

For k = 0 to cbo,ListCount -1
        x = cbo.ItemData(k)             'bound column only
        y = cbo.Column(col, k)          'any column
Next k

Thanks millions,

Sorry for my English,
 

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