FMX.Forms.TCustomForm.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TCustomForm(System::Classes::TComponent* AOwner);
__fastcall virtual TCustomForm(System::Classes::TComponent* AOwner, NativeInt Dummy);

Properties

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

Description

Creates and initializes this form.

FMX.Forms.TCustomForm.Create inherits from FMX.Forms.TCommonCustomForm.Create. All content below this line refers to FMX.Forms.TCommonCustomForm.Create.

Creates and initializes this form.

Create calls the inherited Create to create this form. Create retrieves the IFMXWindowService, IFMXCursorService, IFMXFullScreenWindowService, and IFMXWindowsTouchService services. Create calls InitializeNewForm to initialize such form parameters as bounds, width and height, border icons, style, border style, and client size for the form.

AOwner specifies the owner of this form. An AOwner (usually the application) is responsible for freeing the created form.

Most applications do not call this constructor, but rather instantiate a descendant of TForm that is defined in the forms designer. Forms added to an application at design time are created automatically.

See Also