Solved

ListView - Highlighting a row problem

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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 …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

778 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