Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

listview control

Hi, I'm using vb6,  I would to ask if the listview control is a property similar to the "toprow" property of the grid control?  Because I want to make an specific item to be show within the listview with scrolldown the listview manually.

Thanks!
0
chuyan
Asked:
chuyan
1 Solution
 
hkshijunCommented:
i think you have to check is the item is the region of the listview.
0
 
ArkCommented:
Hi
ListView control has method GetFirstVisible
Private Sub Command1_Click()
  Text1=Listview1.Getfirstvisible
End Sub
Cheers
0
 
paulstampCommented:
In addition to Ark's comment, there is also an EnsureVisible method for a listitem, ie to force an item to be shown you can use :

    ListView1.ListItems("ShowMe").EnsureVisible

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now