FAQ & Knowledge Base

Welcome to our Knowledge Base. Search or browse through the topics below to find answers to your questions.

Categories: ShellBrowser Delphi Components | Show all categories

Forbid entering a specific folder

Question / Problem

How can I forbid entering a specific folder in a JamShellTree and JamShellList?

Answer / Solution

You can use the OnBeforeShellCommand event and use the AllowExecute parameter to prevent the execution. The Command parameter when opening a folder might be "default", "open" or also "goup". If you have more ShellBrowser components linked with a ShellLink you can use the OnNavigating event to centrally restrict or prevent path access.