Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 449
  • 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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