Solved

ListView - Highlighting a row problem

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month3 days, 21 hours left to enroll

630 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