The OnOperation event occurs after a shell operation like pasting or dragging and dropping files was performed.
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. You may also consider to use the events OnAddItem, OnChange and OnDeletion instead. 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.