FAQ & Knowledge Base

Welcome to our Knowledge Base. Search or browse through the topics below to find answers to your questions.

Categories: ShellBrowser Delphi Components | Show all categories

List of all checked items

Question / Problem

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

Answer / Solution

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.