TLazarusFileDialogForm.CreateNew constructor
Alternate constructor for the class instance.
Declaration
constructor CreateNew(AOwner: TComponent; Num: Integer=0); overrideArguments
AOwner | Owner of the Lazarus dialog form. |
Num | Not used in the current implementation. |
Description
CreateNew is an overridden constructor for the class instance. CreateNew calls the inherited method using values in AOwner and Num as arguments. CreateNew ensures that the Lazarus dialog form sets its position to the value poScreenCenter.
CreateNew allows the form instance to be created without using the associated .lfm file. The CreateNew constructor is used (instead of Create) when the TCustomForm descendant is not a TForm class instance or not a descendant of TForm.
See the Initialize method for information about creation and positioning of child controls on the Lazarus dialog form.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
