Knowledge Base

ShellBrowser Delphi Components

Question / Problem

Is there a way to set the TJamShell controls to prevent the user from executing a shell command, e.g. Delete?

Answer / Solution

You could use the OnBeforeShellCommand event to overwrite the Windows Shell 's default behaviour and set the var parameter AllowExecute to False in such a case.