ShellBrowser Delphi Components Documentation
|
Creates a new directory in the current folder.
function CreateDir(pName: string; pEditMode: Boolean): Boolean;
Parameters |
Description |
pName: string |
name of the new directory |
pEditMode: Boolean |
If EditMode is True, the new folder will be switched to the edit mode so that the user can change its name. |
Boolean: True, if the directory has been created successfully, otherwise False.
This method creates a new directory with the name of the string argument in the active folder. If an empty string is passed as name, a standard folder name, which if possible is extracted from the system, and if not a defined standard folder name in ShellStrings.pas will be used.