From 50a38fbe02ca17c1121efc9c79dd222320badfb0 Mon Sep 17 00:00:00 2001 From: dsiders Date: Tue, 15 Aug 2023 00:19:53 +0100 Subject: [PATCH] Docs: LCL/taskdlgemulation. Adds, updates TLCLTaskDialog topics for changes in 97623935. --- docs/xml/lcl/taskdlgemulation.xml | 36 +++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/docs/xml/lcl/taskdlgemulation.xml b/docs/xml/lcl/taskdlgemulation.xml index 7964fefcc3..331e1e8077 100644 --- a/docs/xml/lcl/taskdlgemulation.xml +++ b/docs/xml/lcl/taskdlgemulation.xml @@ -91,18 +91,26 @@ Added in LCL version 4.0 as replacement for the deprecated types in the + + + + -The task dialog structure which created the form. +The task dialog instance which created the dialog form. - + + + + + @@ -218,7 +226,6 @@ The expand/collapse button (expando control) for the Task dialog. - @@ -457,13 +464,30 @@ Shift, Control, or Alt modifier for the key. - Alternate constructor for the class instance. - - + +

+CreateNew is an overridden constructor in TLCLTaskDialog. +It is the alternate constructor called when creating a form instance which does +not have an associated resource file (.lfm). It extends the inherited method to +assign the value in AOwner to the internal TTaskDialog member for the class +instance. +

+

+CreateNew calls the inherited method to configure and initialize the dialog +form instance. It sets the default values for internal members and properties +like KeyPreview (True). It signals the OnDialogCreated event handler +(when assigned) in the TTaskDialog instance for the dialog form. +

+
+ + +TCustomForm.CreateNew +TForm.KeyPreview +