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

Changing Picture Colors in File List Box

Question:
How can I make the little folders yellow and the little drives gray in the File List Box? I have tried background color, this just makes the background of the actual list change color and I have used foreground color, which makes the lettering change color.

Answer:
The reason you have not been able to make them change color is because they cannot change color. Those two controls are left over from the early days of VB when they did not give you access to the common dialog. That is what most people use to open/specify files, since the dialog does everything for you. You might check ftp.cica.indiana.edu for other file list controls that do have color.

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