TCustomFileListBox.Create constructor
Constructor for the class instance.
Declaration
constructor Create(TheOwner: TComponent); overrideDescription
Create is the overridden constructor for the class instance, and
calls the inherited constructor on entry. Create sets the default values for
properties in the class instance, including:
- Mask
- Set to the AllDirectoryEntriesMask ('*')
- FileType
- Set to [ftNormal]
- Directory
- Set to the value from GetCurrentDirUTF8
- Drive
- Contains the value form ExtractFileDrive, or an empty string
- MultiSelect
- Set to False
- Sorted
- Set to True after files have been loaded in UpdateFileList
- Items
- Sets the
CaseSensitiveproperty in Items to True to ensure that file and directory names on case-sensitive file systems are handled properly.
Create calls the UpdateFileList method to load the file and
directory names for the current Directory into the Items property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
