ShellBrowser Delphi Components Documentation
|
Executes a shell command on the objects selected in the control.
procedure InvokeCommand(const pCommand: TShellCommand);
Parameters |
Description |
const pCommand: TShellCommand |
The shell command that should be executed. |
Exceptions |
Description |
In case the execution of the command failed. The property ErrorCode of the exception will have the value ERROR_CANCELLED</> if the operation was canceled by the UserName. |
Copy a file to Clipboard
var lItemIdList: IItemIdList; begin lItemIdList := TJamItemIdList.Create(lFileName); lItemIdList.InvokeCommand(TShellAction.saCopy); end;