Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

FolderName property

Project: Shell Folders Unit.

Unit: PJShellFolders.

Class: TPJBrowseDialog

Applies to: ~>2.0

property FolderName: string;

Description

This property contains the path to the folder selected in the dialog box.

Set FolderName to the path of the (physical) folder you would like to be selected in the dialog box when it is displayed.

When the user OKs the dialog box FolderName is updated. For physical folders (i.e. those in the file system) this property contains the full path name of the folder that was selected by the user in the dialog box. If the selected folder is virtual then this property is set to the empty string. If the user cancelled the dialog box then FolderName is not updated.

FolderName is set to the empty string when no folder has yet been selected by the user.

See Also