Knowledgebase

status_loader

Get the icon from a file or folder

Question / Problem

I want to get the icons from a file or folder. Can I use a ShellBrowser component?

Answer / Solution

The best way to get icons is to use the TJamSystemImageList component, which is a descendant of Delphi 's ImageList component.

Use the method GetFolderIconNumber() to receive the image index of the default Windows Explorer folder icon.

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form