ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Dialogs.FileOperation.TJamFileOperation.Execute

Performs the requested operation.

Syntax
Pascal
function Execute: Boolean; overload;

True if the operation has been performed successfully or False otherwise.

The parent window handle is determined automatically. See Jam.Shell.Dialogs.FileOperation.TJamFileOperation.Execute@HWND

Set Operation before calling this method.

Exceptions 
Description 
EArgumentException 
if previously passed arguments were invalid (and RaiseExceptions is True).  
if an operation cannot be performed because all files are invalid or any COM exception occured or user canceled operation. RaiseExceptions must be set to True and calling thread must be main thread. Otherwise no exception is raised and LastErrorCode contains the error.