Knowledgebase
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.
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