Class TFileListing (unit FileListing)

Inherits from

TList

Constructors



Functions

procedure ClearList;


Destructor Destroy;

GetImageIndex(AddBackSlash(Dir)+Name); We have to get this now or sorting won't work.

function FileName(index:integer):string;


function FullName(index:integer):string;


function GetFiles(Dir,Mask : string) : integer;


procedure SortFiles(SortType:TFileSortType; Ascend:boolean);


Properties

Events

Variables

Ascend : boolean;


DefaultSort : TFileSortType;


DirBytes : integer;


Directory : string;


FileTypes : TFileTypes;



Constructors


Functions


procedure ClearList;


Destructor Destroy;

GetImageIndex(AddBackSlash(Dir)+Name); We have to get this now or sorting won't work.


function FileName(index:integer):string;


function FullName(index:integer):string;


function GetFiles(Dir,Mask : string) : integer;


procedure SortFiles(SortType:TFileSortType; Ascend:boolean);


Properties


Events


Variables


Ascend : boolean;


DefaultSort : TFileSortType;


DirBytes : integer;


Directory : string;


FileTypes : TFileTypes;