Show: Delphi C++
Display Preferences

FMX.Forms.TCommonCustomForm.OnSaveState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnSaveState: TNotifyEvent read FOnSaveState write FOnSaveState;

C++

__property System::Classes::TNotifyEvent OnSaveState = {read=FOnSaveState, write=FOnSaveState};

Properties

Type Visibility Source Unit Parent
event public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCommonCustomForm

Description

Occurs when the form is about to go to background on mobile devices or when the form is about to be closed on desktop.

Any form-related data should be saved during the OnSaveState event so this data can be restored once the application is restarted.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance