Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TCustomdxPSExplorer.CreateNewFolder(TdxPSExplorerFolder) Method

Creates a new folder within the specified parent folder.

#Declaration

Delphi
function CreateNewFolder(AParent: TdxPSExplorerFolder): TdxPSExplorerFolder; virtual;

#Parameters

Name Type
AParent TdxPSExplorerFolder

#Returns

Type
TdxPSExplorerFolder

#Remarks

Use the CreateNewFolder method to create a new folder within the reports hierarchy. The newly created folder is placed within its parent folder that is specified by the AParent parameter. The created folder object is returned by this method so you can modify its settings if required.

By default, folders created using the CreateNewFolder method get the ‘New Folder‘ name. If the parent folder already contains a folder with such a name, the ‘New Folder (2)‘ name is assigned, etc. Use the folder object’s Name property to change the folder name.

See Also