Knowledge Base

ShellBrowser Delphi Components



Question / Problem

When I read the file name of the currently selected file in a JamShellList from the Selected.Caption property, the file extension is missing if the user has set the according option in the Windows Explorer options. How can I get the full file name?

Answer / Solution

You can use the SelectedFiles property to get a list of all currently selected file including their extension. The path of the currently displayed directory can be read from the Path property.