scroll all list box item

  • Thread starter Thread starter iccsi
  • Start date Start date
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,
 
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
 
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,
 
Back
Top