ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.ExplorerBrowser.TJamExplorerBrowser.InvokeCommand

Executes a context menu command for listed folder or selected items depending on focus.

Syntax
Pascal
function InvokeCommand(const pCommand: TShellCommand): Boolean;
Parameters 
Description 
const pCommand: TShellCommand 
The command to be executed, e.g. TShellAction.saPaste.  

True if the command was executed successfully or False otherwise.

If navigation tree on the left side has the focus JamSystemShellView.TJamShellControl.InvokeCommandOnFolder is called. Otherwise JamSystemShellView.TJamShellControl.InvokeCommandOnSelected is called.