DesignEditors.TPropertyEditor.PrivateDirectory

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PrivateDirectory: string read GetPrivateDirectory;

C++

__property System::UnicodeString PrivateDirectory = {read=GetPrivateDirectory};

Properties

Type Visibility Source Unit Parent
property public
DesignEditors.pas
DesignEditors.hpp
DesignEditors TPropertyEditor

Description

Specifies the location where the property editor can store auxiliary files.

Use PrivateDirectory to access executables used by the property editor or auxiliary files that store state information, such as templates and more.

Note: The location of the folder where PrivateDirectory stores executables is the same directory of IDE. PrivateDirectory usually returns a read-only folder.

The property editor can use the directory to read files or load DLLs and executables.

Note: If the property editor saves into the file, you can use the %APPDATA%\Embarcadero\BDS\X.0 folder provided by IOTAServices.GetApplicationDataDirectory