Formally, these method usually require a TShellCommand as parameter.
However, this type can be assigned a string or a TShellAction, so both
as well as
will display the property dialog for the selected elements.
TShellAction is an enumeration of frequently used commands. For less common context menu items, you can pass the verb as string.
To find out the verb of an existing context menu item, implement the OnBeforeShellCommand event - it passes the verb of the selected menu item.
When you have used our installer:
In RAD Studio choose: Components > Install Packages > Add... > "%BDSCOMMONDIR%\BPL\JamShellBrowserDesign.bpl"
When using the ZIP file download (source code customers only):
Both approaches will only work in case the ShellBrowser version supports the version of RAD Studio you are using. So when using the latest version of RAD Stusio make sure to have the latest version of ShellBrowser.
To set a different selection in the ShellTree, there are the following possibilities:
ShellTree.SelectedFolder := c:\;
ShellTree.SpecialFolder := Jam.Shell.Types.SF_DOWNLOADS;
There are several measures you can take, depending on the components you are using:
To avoid, that a user manually opens a folder you have different options of interception: