Vcl.Forms.TFrame

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Forms.TCustomFrameVcl.Forms.TScrollingWinControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFrame

Delphi

TFrame = class(TCustomFrame)

C++

class PASCALIMPLEMENTATION TFrame : public TCustomFrame

Properties

Type Visibility Source Unit Parent
class public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.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.

There is a nonstandard A-footnote (Frames_Object) in the main topic for TFrame. Please do not remove it, since it is necessary for making the Component palette Help work.

See Also