Solved

listview control

Posted on 2000-03-21
3
442 Views
Last Modified: 2008-03-06
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
Comment
Question by:chuyan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:hkshijun
ID: 2643262
i think you have to check is the item is the region of the listview.
0
 
LVL 28

Expert Comment

by:Ark
ID: 2643474
Hi
ListView control has method GetFirstVisible
Private Sub Command1_Click()
  Text1=Listview1.Getfirstvisible
End Sub
Cheers
0
 
LVL 3

Accepted Solution

by:
paulstamp earned 50 total points
ID: 2643527
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add a task in Outlook from access 11 43
Sorting multiple rows and columns, and count duplicates in Excel 2013 4 104
MsgBox 4 76
VB6 - Scroll Mouse wheel on Picturebox 13 122
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question