FMX.Forms.TFormSaveState.StoragePath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StoragePath: string read GetStoragePath write SetStoragePath;

C++

__property System::UnicodeString StoragePath = {read=GetStoragePath, write=SetStoragePath};

Properties

Type Visibility Source Unit Parent
property public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TFormSaveState

Description

Allows specifying a storage path for the save state.

The setter and the getter methods of this property check that the IFMXSaveStateService service is available on the platform your application is running on before setting or getting the storage path.

If the StoragePath property is left empty (by default), the save state is considered transient, which means it is of temporary nature, and uses facilities provided by the operating system or a temporary file location.

If the StoragePath property is not empty (it is set for example to TPath.GetHomePath), then the save state is persistent and it is saved to disk at that location.

See Also