FAQ & Knowledge Base

Herzlich Willkommen in unserer Wissensdatenbank. Nutzen Sie die Suchfunktion oder durchstöbern Sie unsere Kategorien, um Antworten auf Ihre Fragen zu erhalten.

Kategorien: ShellBrowser Delphi Components | Alle Kategorien anzeigen

Die folgenden Inhalte sind leider nicht auf Deutsch verfügbar.

Get the icon from a file or folder

Frage / Problem

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

Antwort / Lösung

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.