Contents - Index - Previous - Next


UnZipSelected method

 

Applies to

TVCLUnZip component

 

Declaration

function UnZipSelected: Integer;

 

Description

The UnZipSelected method causes the files that have had their Selected property set to True, to be extracted. The return value is the number of files successfully unzipped. 

 

The following will unzip all .TXT files: 

 

  With VCLZip1 do 

For i := 0 to Count-1 do 

If UpperCase(ExtractFileExt(FileName[i])) = '.TXT' then 

Selected[i] := True; 

NumUnZipped := UnZipSelected;