Contents - Index - Previous - Next


ReadZip method

 

Applies to

TVCLUnZip component

 

Declaration

procedure ReadZip;

 

Description

The ReadZip method causes the zip file to be opened and all pertinant information to be read from the zip file.  The information on each file can be accessed by the indexed properties described later.  You should call this procedure after setting the ZipName property. This procedure only needs to be called if you plan to access the files information such as Filename[Index] before performing an operation.  You can call the UnZip or Zip or any functions without calling ReadZip first.  

 

If KeepZipOpen is set to False, ReadZip will open the zip file, read it's information and then close the zip file.  If this is the case, should the zip file change before the next time you perform an operation on it, the zip's information will automatically be updated.