ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamShellList.SpecialFolder Property

Allows you to deal with non file system folders.

Syntax
Pascal
property SpecialFolder: TJamShellFolder;

SpecialFolder allows you to set or get the type of the currently listed folder. You can use the TJamShellFolder constants here. The property returns SF_UNKNOWN if the current folder is no special folder.

This line will display the Control Panel folder in the TJamShellList:

JamShellList.SpecialFolder := SF_CONTROLS;

The following example shows the properties dialog for all selected items, if the listed folder is a file system folder. This allows the user to see the summarized size of all items.

With JamShellList do if SpecialFolder = SF_FILESYSTEM then begin SelectAll; InvokeCommandOnSelected('properties'); end;
Copyright (c) 2011. All rights reserved.