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.

List of all checked items

Frage / Problem

How can I get a list of all checked items in a JamShellTreeList?

Antwort / Lösung

If you want to iterate over the list of all selected items, you can use the method FindNext() of the JamSelectionList, e.g.: 

JamShellTree.ShellLink.SelectionList.FindNext;

This returns the names of the selected files and folders. When all items have been enumerated, an empty string will be returned.

If you want to get a list of the selected items, you can use the Paths property of the JamSelectionList.