Solved

ListView - Highlighting a row problem

Posted on 2002-06-20
2
193 Views
Last Modified: 2012-05-04
I have 2 ListViews in a control array.  ListView(0) has 2 rows and allows me to initially select the 2nd row (highlight it) if it is the first thing I click on.  If I click on the 1st row first and then try to click on the 2nd row it highlights the first row.  Debuging the ItemClick event didn't prevent the dehighlighting of the item.  Help?
0
Comment
Question by:jbauer22
[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
2 Comments
 
LVL 3

Expert Comment

by:adg
ID: 7097713
Not sure if I'm understanding your question correctly but you could set the multiselect property to true and then use Ctrl-click to select multiple items.  That's the way its designed to work...
0
 
LVL 9

Accepted Solution

by:
Valliappan AN earned 50 total points
ID: 7097821
May be in your code, you are setting it again to 1st row. Not sure ..

You might show your code, so that, anyone could help.
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

732 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