FMX.Forms.TFrame

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFrame

Delphi

TFrame = class(TControl, IControl)

C++

class PASCALIMPLEMENTATION TFrame : public Fmx::Controls::TControl

Properties

Type Visibility Source Unit Parent
class public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms FMX.Forms

Description

TFrame is a container for components; it can be nested within forms or other frames.

When you create frames, they are implemented as descendants of TFrame.

A frame, like a form, is a container for other components. It uses the same ownership mechanism as forms for automatic instantiation and destruction of the components on it, and the same parent-child relationships for synchronization of component properties. But frames can be nested within forms or other frames, and they can be saved on the Component palette for easy reuse. After a frame is created and saved, it continues to function as a unit and to inherit changes from the components (including other frames) it contains. Moreover, an embedded frame continues to inherit changes made to the frame from which it is derived.

See Also