DesignEditors.TPropertyEditor.PrivateDirectory

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TPropertyEditor

Delphi

property PrivateDirectory: string read GetPrivateDirectory;

C++

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

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