Show: Delphi C++
Display Preferences

Vcl.Forms.TCustomFrame

From XE3 API Documentation
Jump to: navigation, search

Vcl.Forms.TScrollingWinControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TCustomFrame

Delphi

TCustomFrame = class(TScrollingWinControl)

C++

class PASCALIMPLEMENTATION TCustomFrame : public TScrollingWinControl

Properties

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

Description

TCustomFrame is the base class from which TFrame descends.

TCustomFrame is the base class for frames. A frame, like a form, is a container for controls and 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. Unlike forms, however, frames can be nested within forms or other frames, and 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.

Do not create instances of TCustomFrame. Instead, to create and work with frames, define a TCustomFrame descendant by choosing File|New|Frame, and adding the controls and components that you want your frame to encapsulate.

See Also

Personal tools
Translations