Solved

ListView - Highlighting a row problem

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

820 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