ShellBrowser Delphi Components Documentation
ContentsIndexHome
Example

The following example will open a text file:

ShellBrowser.ObjectName := 'c:pathfile.txt';
ShellBrowser.InvokeContextMenuCommand('default');

The following example will show the drive properties with the pie chart of harddisk C:

ShellBrowser.ObjectName := 'c:';
ShellBrowser.InvokeContextMenuCommand('properties');

The following example will copy the file to the clipboard:

ShellBrowser.ObjectName := 'c:pathfile.txt';
ShellBrowser.InvokeContextMenuCommand('copy');