home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,198 of 10,840   
   Randy Birch to All   
   Re: How to completely (incl. dotted box)   
   28 Aug 06 21:23:52   
   
   From: rgb_removethis@mvps.org   
      
   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"  wrote in message   
   news:ed03ha$2h7b$1@news.imp.ch...   
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca