Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: 95/98
Expertise: Beginner
Oct 1, 1996

Highlighting Multiple Items in a ListView Control

Question:
I'm creating an email application and I require the ability to highlight all the items in the ListView control (not just the first item) in the same fashion as Microsoft Exchange highlights the item and subitems for each received message. How can this be accomplished?

Answer:
Each node/entry in the ListView has the "Selected" property. Try setting multiple entries' Selected properties to True. From what I saw in the help, the Selected property was the only applicable property for selecting/deselecting items. In this case, you may have to use a grid or other control that more readily supports multiple item selections.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date