Re: How to completely (incl. dotted box) unselect an item of a ListView
- From: "Randy Birch" <rgb_removethis@xxxxxxxx>
- Date: Mon, 28 Aug 2006 21:22:57 -0400
See http://vbnet.mvps.org/code/faq/faqqa.htm near the bottom. There are
three solutions posted depending on property settings.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
Please reply to the newsgroups so all can participate.
"Stefan Mueller" <seekware-remove-@xxxxxxxxx> wrote in message
news:ed03i8$2h7e$1@xxxxxxxxxxxxxx
I've a ListView in ReportMode with MultiSelect = False.
If the user enters a number I select the appropriate item in the ListView.
If the used enters a number which is not in the ListView I'd like to
unselect the former selected item. Today I do this with
Sample_ListView.SelectedItem.Selected = False
This works but there is still a dotted box around the former selected item.
Is there a way also to hide the dotted box?
Stefan
PS: The ListView should remain the focus
.
- Follow-Ups:
- Re: How to completely (incl. dotted box) unselect an item of a ListView
- From: Stefan Mueller
- Re: How to completely (incl. dotted box) unselect an item of a ListView
- References:
- How to completely (incl. dotted box) unselect an item of a ListView
- From: Stefan Mueller
- How to completely (incl. dotted box) unselect an item of a ListView
- Prev by Date: How to completely (incl. dotted box) unselect an item of a ListView
- Next by Date: generics
- Previous by thread: How to completely (incl. dotted box) unselect an item of a ListView
- Next by thread: Re: How to completely (incl. dotted box) unselect an item of a ListView
- Index(es):
Relevant Pages
|