FMX.Forms.TCommonCustomForm.Recreate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Recreate; virtual;

C++

virtual void __fastcall Recreate();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCommonCustomForm

Description

Re-creates this form.

Recreate sets this form state to Recreating, then destroys and re-creates its handle, finalizing by showing the form on the screen. In the end, Recreate restores the original form's state by removing the Recreating attribute.

If the form is in a csDesigning state, Recreate exits doing nothing.

See Also