ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamShellList.InvokeCommandOnFolder Method

Executes a context menu command for the listed folder.

Syntax
Pascal
function InvokeCommandOnFolder(const Command: String): Boolean;

Use InvokeCommandOnFolder to execute a command of the context menu for the listed folder. See also .

This method can be useful for copying or moving files from one TJamShellList to another. The following sample code will copy the selected files of ShellList1 to ShellList2:

ShellList1.InvokeCommandOnFolder('copy'); ShellList2.InvokeCommandOnFolder('paste');
Copyright (c) 2011. All rights reserved.