ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellTree.OnOperation

The OnOperation event occurs after the TJamShellTreeView executed a shell operation like pasting or dragging and dropping folders.

Syntax
Pascal
property OnOperation: TOnOperation;

Use the OnOperation event to get informed when the control performed a shell operation, for example a drag and drop operation or a Paste command.  

Operation gives you information about the type of operation that was performed. Files contains the file or folder names, that are affected. The filenames are provided with full path, to extract the name of the file, you can use the Delphi function ExtractFileName. See TJamShellOperations for a list of operations that may occur.  

See TJamShellList.OnOperation for an example.