FMX.Forms.TCommonCustomForm.ParentForm

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParentForm: TCommonCustomForm read FParentForm;

C++

__property TCommonCustomForm* ParentForm = {read=FParentForm};

Properties

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

Description

Specifies the parent form of this form.

The ParentForm parent form must be an instance of a TCommonCustomForm descendant. ParentForm contains the parent component of the current TCommonCustomForm form. ParentForm is responsible for deleting the current TCommonCustomForm form.

The value of ParentForm is set when you change the Parent property. If Parent is a form, then ParentForm is set to the value of Parent. Otherwise, ParentForm is set to the value of the form, to which the Parent belongs.

See Also