ListView.TopItem

  • Thread starter Thread starter Jared
  • Start date Start date
J

Jared

Hi,

I am manualling setting a TopItem, for most of my listview grids this works
fine, but for one it will not work?

What would cause TopItem property to be ignored on a set?
 
Basically TopItem acts like EnsureVisible and is not activated unless item
is not visible so work around look like this..


Me.lvTotals.TopItem = Me.lvTotals.Items(Me.lvTotals.Items.Count - 1)
Me.lvTotals.TopItem = Me.lvTotals.Items(4)
 

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

Back
Top