TCnFolderBrowserDialog.ShowNewFolderButton Property

Gets or sets a value indicating whether the New Folder button appears in the folder browser dialog box.

Namespace: CNClrLib.Component.FolderBrowserDialog
published
 property ShowNewFolderButton: Boolean read GetShowNewFolderButton write SetShowNewFolderButton default True;

Property Value

Type: Boolean

true if the New Folder button is shown in the dialog box; otherwise, false. The default is true.

When ShowNewFolderButton is true, the New Folder button is visible, giving the user a chance to create a folder. When the user clicks the New Folder button, a new folder is created and the user is prompted to specify the folder name. The selected node in the tree becomes the parent of the new folder. The actual caption of the New Folder button can vary depending upon the operating system