Description:

The FileList component produces a list of files, which can be sorted in 
various ways by clicking on the top of the column, like Explorer.


Usage:

The FileList component extends the TListView component adding an AddFile 
method to add a file to the end of the list.  The details for the file 
are extracted from the directory using FindFirst and Shell File 
functions.   Files that don't exist will not be added to the list.

  function AddFile (filename: string;  var filesize: integer): boolean;

This function returns True if the file can be added to the ListView.
Since the file size is often required, and since this is obtained during 
the AddFile method, the file size is returned to the user.

This unit requires the ShortDateFormat and LongTimeFormat to be defined,
so for the time being, these have been defined in the unit.


Installation:

Extract the .PAS and the .DCR files from the Zip file to a directory
of your choice, and within Delphi IDE, use the Component, Install... 
option.  You should end up with a new section on your component 
palette entitled "Davids".  You can change the section of the 
palette by editing the source code for the component's Register
procedure.


Notes:

The behaviour of this component with differing ImageLists and ViewStyles 
has not been investigated.


Revison history:

V1.0.0  1997 Apr 27  First version


Copyright:

This Freeware component is Copyright  David J Taylor, Edinburgh,
1997.  If you change it, I'd appreciate a note so that your 
improvements can be passed on to others in the next version.

david.taylor@gecm.com
