devxlogo

Sizing of images in Imagelist used used byTreeView

Sizing of images in Imagelist used used byTreeView

Question:
The promotional literature for Delphi 2 said that the 95 Explorer could be built from the Delphi VCL. However, the size of the icons used in the TreeView needs to be 16×16 to be about the same size as they are in 95 Explorer. Is this resolution the same as the icons in Explorer? The latter look finer to me, as per the icons you use on this site. How can I achieve the same icon image definition at the standard Explorer size? Are there any sources (free or otherwise) for the icons that you use on this site (folder, document etc.) to put in a Image List for use with a TreeView? Borland’s are OK, but I prefer the MS look.

Answer:
You can achieve finer definition of icons or small graphics by using highercolor depth. In the Image Editor, make sure you use the 256-color Super VGAoption for the number of colors of your bitmaps. That way, you’ll get smoother pictures.

See also  5 Tips to Manage a Remote Workforce
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