TCustomFileListBox.Directory property
The
Directory or Folder in which the file is located.
Declaration
property Directory: string read FDirectory write SetDirectory;Description
Directory is a
String property which contains the path
on the local file system to the files or and/or directories displayed in the
list box control. The initial value for Directory is assigned in the
constructor and defaults to the current directory for the application.
The value in Directory is prepended to the value in Filename when
the UpdateSelectedFileName method is called from methods like:
Click, KeyUp, SetItemIndex,
SetFileName.
Changing the value in Directory causes the UpdateFileList method
to be called to reload the file and or directory names stored in the
Items property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
