Solved

ListView - Highlighting a row problem

Posted on 2002-06-20
2
188 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

943 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now