Browse DevX
Sign up for e-mail newsletters from DevX

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



Building the Right Environment to Support AI, Machine Learning and Deep Learning

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