Show: Delphi C++
Display Preferences

Vcl.Forms.TCustomForm.Create

From XE2 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, int Dummy);
/* TWinControl.CreateParented */ inline __fastcall TCustomForm(HWND ParentWindow) : TScrollingWinControl(ParentWindow) { }

Properties

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

Description

Creates and initializes a new TForm object.

Use Create to instantiate a TForm object or descendant of TForm at runtime. AOwner is the owner of the TCustomForm object.

For descendants of TCustomForm that are not TForm objects, use CreateNew instead. Calling Create for a TCustomForm descendant that is not a TForm will raise an exception.

See Also

Personal tools
Previous Versions
Translations