Sign in Join
FPDoc Onlineexperiment

TDirectoryEdit.Directory property

Member of TDirectoryEditpublishedIn unit EditBtn

The Directory selected by the dialog.

Declaration

pascal
property Directory: string read GetDirectory write SetDirectory;

Description

Directory is a String property which contains the active directory, and the value displayed in the Edit for the control.

Directory and RootDir determine the values used in the Select Directory dialog executed when the Button is clicked for the control. When Directory is a valid file path on the local file system, it is used as the initial directory displayed in the dialog. Otherwise, the value in RootDir is used as the initial directory and Directory is used as the file name in the dialog.

The value in Directory is updated in the RunDialog method when the dialog for the control has been executed successfully.

See also

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