[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.CreateNew

Creates a form instance without a resource (.lfm) file.

Declaration

Source position: forms.pp line 706

public constructor TCustomForm.CreateNew(

  AOwner: TComponent;

  Num: Integer = 0

); virtual;

Arguments

AOwner

  

Owner for the new class instance.

Num

  

Ignored in the current implementation.

Description

CreateNew is an alternate constructor for the class instance. CreateNew is used to create a new TCustomForm instance which is not loaded from a resource file (.lfm). It performs actions to initialize properties for the form instance, including:


Version 3.2 Generated 2024-02-25 Home