FMX.Forms.TCustomPopupForm.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent; AStyleBook: TStyleBook = nil; APlacementTarget: TControl = nil;
AutoFree: Boolean = True); reintroduce;

C++

__fastcall virtual TCustomPopupForm(System::Classes::TComponent* AOwner, NativeInt Dummy);
__fastcall TCustomPopupForm(System::Classes::TComponent* AOwner, Fmx::Controls::TStyleBook* AStyleBook, Fmx::Controls::TControl* APlacementTarget, bool AutoFree);

Properties

Type Visibility Source Unit Parent
constructor public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCustomPopupForm

Description

Creates and initializes this pop-up form.

Create calls CreateNew, which creates this pop-up form and sets initial values to several properties of the created pop-up form. Then Create initializes the PlacementTarget, Parent, and StyleBook properties for the created pop-up form.

AOwner specifies the owner of this pop-up form. The AOwner is responsible for freeing the created pop-up form.

AStyleBook specifies the style book to set for the StyleBook property of this pop-up form.

APlacementTarget specifies the PlacementTarget property for this pop-up form.

See Also