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.
How can I prevent a file from being opened in the TJamExplorerBrowser?
To block opening in general, simply implement an empty event handler for the OnDefaultAction event of the TJamExplorerBrowser control that contains only the code "exit;".
You may also do this conditionally:
if JamExplorerBrowser1.SelectedFiles[0].EndsWith('.log', True) then
exit
else
JamExplorerBrowser1.InvokeCommand('')