ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellTree.CreateDir

Creates a new directory in the given path.

Syntax
Pascal
procedure CreateDir(path: UnicodeString; foldername: UnicodeString; EditMode: Boolean);
Parameters 
Description 
path: UnicodeString 
The path where the new folder should be created.  
foldername: 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.  

This method creates a new directory with the name of the string argument foldername in the given path. If an empty string is passed as foldername, the standard folder name for a new folder of the system will be used. If EditMode is true, the new folder will be switched to the edit mode after creation so that the user can change its name.