answered in another group.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
Please reply to the newsgroups so all can participate.
"Stefan Mueller" <seekware-remove-@yahoo.com> wrote in message
news:ed03ha$2h7b$EMAIL REMOVED...
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