Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomForm.CreateNew

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

Declaration

Source position: forms.pp line 700

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 (.frm). It performs actions to initialize properties for the form instance, including:



CT Web help

CodeTyphon Studio