|
-
Jun 28th, 2004, 06:56 PM
#1
Thread Starter
PowerPoster
ListView (Resolved)
Hi
Please can someone say how to:
1. Find the index of the SelectedItem of a ListView?
2. Leave the SelectedItem of a ListView highlighted after the
ListView has lost focus?
Last edited by taxes; Jun 29th, 2004 at 03:56 PM.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jun 28th, 2004, 07:08 PM
#2
#1 - Listview1.SelectedItems(0).Index
#2 - Change the HideSelection property to False.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jun 28th, 2004, 07:44 PM
#3
Thread Starter
PowerPoster
Hi crptcblade,
Many thanks for a fantastically quick response.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jun 29th, 2004, 12:53 PM
#4
Addicted Member
This does work...Although it leaves my selection in Gray when it loses focus. is there any way to keep it in Blue???
LIKE THIS!!!
-
Jun 29th, 2004, 01:18 PM
#5
Set the HideSelection property = false.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|