FAQ & Knowledge Base

Herzlich Willkommen in unserer Wissensdatenbank. Nutzen Sie die Suchfunktion oder durchstöbern Sie unsere Kategorien, um Antworten auf Ihre Fragen zu erhalten.

Kategorien: ShellBrowser Delphi Components | Alle Kategorien anzeigen

Die folgenden Inhalte sind leider nicht auf Deutsch verfügbar.

Forbid entering a specific folder

Frage / Problem

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

Antwort / Lösung

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.