ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamSystemShellView.CreateDir Method

Creates a new directory in the current folder.

Syntax
Pascal
function CreateDir(Name: UnicodeString; EditMode: Boolean): Boolean;
Parameters 
Description 
Name: UnicodeString 
name of the new directory 
EditMode: 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.

Copyright (c) 2011. All rights reserved.