FMX.Controls.Presentation.TPresentedControl.Create

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TPresentedControl(System::Classes::TComponent* AOwner)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TPresentedControl

Description

Creates a new instance of TPresentedControl.

<AOwner> takes ownership of the control and becomes responsible of destroying the control once the control is no longer necessary.

The control constructor creates a data model for the control. DefineModelClass determines the default class of data model for each subclass of TPresentedControl.

Create also sets the value of the CanUseDefaultPresentation property to True.

See Also