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: Visual Basic
Expertise: Beginner
Oct 1, 1996

Clearing the Contents

Question:
Is there an easy way to clear a combo box's contents, other than using the Clear method?

Answer:
One of my users suggested that if you add a space as the last item in the list, you can simply set the list to that item, making it appear to be cleared. In this case, however, you'll have to add error checking to verify that the user didn't select the blank entry.

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