Prevent or modify shell commands
Frage / Problem
Is there a way to set the TJamShell controls to prevent the user from executing a shell command, e.g. Delete?
Antwort / Lösung
You could use the OnBeforeShellCommand event to overwrite the Windows Shell 's default behaviour depending on the affected files and/or the command the is about to be executed, and set the var parameter "AllowExecute" to False, to skip the default handling for these cases.