Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996



Application Security Testing: An Integral Part of DevOps

Changing Picture Colors in File List Box

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.

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.



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