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

Performs the requested operation.

Syntax
Pascal
function Execute(pParentWnd: HWND): Boolean; overload;
Parameters 
Description 
pParentWnd: HWND 
The handle to the parent window.  

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

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.