devxlogo

Changing Picture Colors in File List Box

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.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist