[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Constructor for the form instance.
Source position: lcltaskdialog.pas line 207
public constructor TEmulatedTaskDialog.CreateNew( |
AOwner: TComponent; |
Num: Integer = 0 |
); override; |
AOwner |
|
Component which owns the emulated task dialog form. |
Num |
|
Contains a specific instance number for the form. The default value is 0. |
CreateNew is the overridden constructor for the form class instance. CreateNew is used to create a form instance which does not have a resource (.lfm) file.
CreateNew calls the inherited method on entry to initialize properties for the form instance and to register the form on the current Screen.
The overridden constructor sets the value in KeyPreview to True. This allows the form instance to intercept KeyDown, KeyUp, and KeyPress events from child controls before they are applied to the active control on the form. This is commonly done on modal dialog forms to allow the parent form to handle specific interactions with the user.
|
Creates a form instance without a resource (.lfm) file. |
|
|
Allows the form to intercept keystrokes in child controls. |
|
|
The TScreen singleton for the application. |
|
|
Provides information about screen displays in an application. |
Version 4.0 | Generated 2025-05-03 | Home |