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
If I use the TJamShellList with a certain file filter, .zip files are being displayed as well, although the .zip extension is not a part of the filter. Is that a bug?
No actually it's not, since zip archives can be enumerated as well - the filter will be applied to the contents of the zip file.
If you want to change this, you can either:
procedure TMainForm.ShellListAddItem(Item: TJamShellListItem;
var CanAdd: Boolean);
begin
if (Item.IsFolder and Item.AbsoluteItemIdList.HasAttributes(SFGAO_STREAM)) then
CanAdd := false;
end;