Sign in Join
FPDoc Onlineexperiment

TFileItem.Create constructor

Member of TFileItempublicIn unit ShellCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(const DirInfo: TSearchRec; ABasePath: string)

Arguments

DirInfo

TSearchRec instance with the directory information for the file item.

ABasePath

Contains the path on the local file system where the file item is stored.

Description

Create stores values in the DirInfo and ABasePath arguments to the FileInfo and BasePath properties in the class instance. isFolder is updated to indicate whether the file item is a directory on the local file system.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.