ShellBrowser Delphi Components Documentation
|
Creates a new directory in the current folder.
function CreateDir(Name: UnicodeString; EditMode: Boolean): Boolean;
Parameters |
Description |
Name: UnicodeString |
The name for the new folder. If it`s empty, the resource string for a new folder is used. |
EditMode: Boolean |
If True, the new folder is set to edit mode after creation. |
True if the directory was created successfully.
This method creates a new directory with the name of the string argument in the active folder. true is returned if the directory has been created successfully. If an empty string is passed as name, a standard folder name is chosen, which if possible is extracted from the system. If EditMode is true, the new folder will be switched to the edit mode so that the user can change its name.